public class X509GenericName extends Object implements X509GeneralName, org.xwiki.crypto.pkix.internal.extension.BcGeneralName
Constructor and Description |
---|
X509GenericName(byte[] encoded)
Create a new instance from a encoded ASN.1 name.
|
X509GenericName(org.bouncycastle.asn1.x509.GeneralName name)
Create a new instance from a Bouncy Castle general name.
|
X509GenericName(int tag,
byte[] encoded)
Create a new instance from a encoded ASN.1 value.
|
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.x509.GeneralName |
getGeneralName() |
public X509GenericName(int tag, byte[] encoded) throws IOException
tag
- the tag value.encoded
- the encoded ASN.1 value.IOException
- on encoding error.public X509GenericName(byte[] encoded) throws IOException
encoded
- the encoded ASN.1 value.IOException
- on encoding error.public X509GenericName(org.bouncycastle.asn1.x509.GeneralName name)
name
- the Bouncy Castle general name.public org.bouncycastle.asn1.x509.GeneralName getGeneralName()
getGeneralName
in interface org.xwiki.crypto.pkix.internal.extension.BcGeneralName
Copyright © 2004–2021 XWiki. All rights reserved.