public abstract class GeneralName extends Object implements ASN1Encodable
Modifier and Type | Class and Description |
---|---|
static class |
GeneralName.DirectoryName
A directory name.
|
static class |
GeneralName.DNSName
A DNS name.
|
static class |
GeneralName.EDIPartyName
An EDI party name.
|
static class |
GeneralName.IPAddress
An IP address.
|
static class |
GeneralName.OtherName
A generic name.
|
static class |
GeneralName.RegisteredID
A registered ID name.
|
static class |
GeneralName.RFC822Name
An RFC 822 name.
|
static class |
GeneralName.URIName
A URI name.
|
static class |
GeneralName.X400Address
An X.400 address.
|
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTORY_NAME |
static int |
DNS_NAME |
static int |
EDI_PARTY_NAME |
static int |
IP_ADDRESS |
static int |
OTHER_NAME |
static int |
REGISTERED_ID |
static int |
RFC_822_NAME |
static int |
URI_NAME |
static int |
X400_ADDRESS |
Modifier and Type | Method and Description |
---|---|
abstract void |
encodeTo(ASN1Encoder encoder)
Encode this
GeneralName element using the given ASN.1 encoder,
where GeneralName is defined as: |
abstract Object |
getName()
Get the name.
|
int |
getType()
Get the type of this general name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8String
public static final int OTHER_NAME
public static final int RFC_822_NAME
public static final int DNS_NAME
public static final int X400_ADDRESS
public static final int DIRECTORY_NAME
public static final int EDI_PARTY_NAME
public static final int URI_NAME
public static final int IP_ADDRESS
public static final int REGISTERED_ID
public int getType()
public abstract Object getName()
public abstract void encodeTo(ASN1Encoder encoder)
Encode this GeneralName
element using the given ASN.1 encoder,
where GeneralName
is defined as:
GeneralName ::= CHOICE { otherName [0] OtherName, rfc822Name [1] IA5String, dNSName [2] IA5String, x400Address [3] ORAddress, directoryName [4] Name, ediPartyName [5] EDIPartyName, uniformResourceIdentifier [6] IA5String, iPAddress [7] OCTET STRING, registeredID [8] OBJECT IDENTIFIER }
encodeTo
in interface ASN1Encodable
encoder
- the encoder (must not be null
)ASN1Exception
- if the general name is invalidCopyright © 2021 JBoss by Red Hat. All rights reserved.