Class X509GenericName
- java.lang.Object
-
- org.xwiki.crypto.pkix.params.x509certificate.extension.X509GenericName
-
- All Implemented Interfaces:
org.xwiki.crypto.pkix.internal.extension.BcGeneralName
,X509GeneralName
public class X509GenericName extends Object implements X509GeneralName, org.xwiki.crypto.pkix.internal.extension.BcGeneralName
Generic holder for general name not supported by specific class.- Since:
- 5.4
- Version:
- $Id: a155a5e9157ea1a25ad74f36830df339f7008942 $
-
-
Constructor Summary
Constructors Constructor Description X509GenericName(byte[] encoded)
Create a new instance from a encoded ASN.1 name.X509GenericName(int tag, byte[] encoded)
Create a new instance from a encoded ASN.1 value.X509GenericName(org.bouncycastle.asn1.x509.GeneralName name)
Create a new instance from a Bouncy Castle general name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.x509.GeneralName
getGeneralName()
-
-
-
Constructor Detail
-
X509GenericName
public X509GenericName(int tag, byte[] encoded) throws IOException
Create a new instance from a encoded ASN.1 value.- Parameters:
tag
- the tag value.encoded
- the encoded ASN.1 value.- Throws:
IOException
- on encoding error.
-
X509GenericName
public X509GenericName(byte[] encoded) throws IOException
Create a new instance from a encoded ASN.1 name.- Parameters:
encoded
- the encoded ASN.1 value.- Throws:
IOException
- on encoding error.
-
X509GenericName
public X509GenericName(org.bouncycastle.asn1.x509.GeneralName name)
Create a new instance from a Bouncy Castle general name.- Parameters:
name
- the Bouncy Castle general name.
-
-