public static final class GeneralName.DirectoryName extends GeneralName
GeneralName.DirectoryName, GeneralName.DNSName, GeneralName.EDIPartyName, GeneralName.IPAddress, GeneralName.OtherName, GeneralName.RegisteredID, GeneralName.RFC822Name, GeneralName.URIName, GeneralName.X400Address
DIRECTORY_NAME, DNS_NAME, EDI_PARTY_NAME, IP_ADDRESS, OTHER_NAME, REGISTERED_ID, RFC_822_NAME, URI_NAME, X400_ADDRESS
Constructor and Description |
---|
DirectoryName(String name)
Create a directory name.
|
Modifier and Type | Method and Description |
---|---|
void |
encodeTo(ASN1Encoder encoder)
Encode this
GeneralName element using the given ASN.1 encoder,
where GeneralName is defined as: |
boolean |
equals(GeneralName.DirectoryName other) |
boolean |
equals(Object obj) |
String |
getName()
Get the name.
|
int |
hashCode() |
getType
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
ofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8String
public DirectoryName(String name)
name
- the directory name, as a String
public String getName()
GeneralName
getName
in class GeneralName
public void encodeTo(ASN1Encoder encoder)
GeneralName
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
encodeTo
in class GeneralName
encoder
- the encoder (must not be null
)public boolean equals(GeneralName.DirectoryName other)
Copyright © 2021 JBoss by Red Hat. All rights reserved.