
public static final class GeneralName.DNSName extends GeneralName
GeneralName.DirectoryName, GeneralName.DNSName, GeneralName.EDIPartyName, GeneralName.IPAddress, GeneralName.OtherName, GeneralName.RegisteredID, GeneralName.RFC822Name, GeneralName.URIName, GeneralName.X400AddressDIRECTORY_NAME, DNS_NAME, EDI_PARTY_NAME, IP_ADDRESS, OTHER_NAME, REGISTERED_ID, RFC_822_NAME, URI_NAME, X400_ADDRESS| Constructor and Description |
|---|
DNSName(String name)
Create a DNS 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.DNSName other) |
boolean |
equals(Object obj) |
String |
getName()
Get the name.
|
int |
hashCode() |
getTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8Stringpublic DNSName(String name)
name - the DNS name, as a Stringpublic String getName()
GeneralNamegetName in class GeneralNamepublic 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 ASN1EncodableencodeTo in class GeneralNameencoder - the encoder (must not be null)public boolean equals(GeneralName.DNSName other)
Copyright © 2020 JBoss by Red Hat. All rights reserved.