
public abstract class GeneralName extends Object implements ASN1Encodable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | GeneralName.DirectoryNameA directory name. | 
| static class  | GeneralName.DNSNameA DNS name. | 
| static class  | GeneralName.EDIPartyNameAn EDI party name. | 
| static class  | GeneralName.IPAddressAn IP address. | 
| static class  | GeneralName.OtherNameA generic name. | 
| static class  | GeneralName.RegisteredIDA registered ID name. | 
| static class  | GeneralName.RFC822NameAn RFC 822 name. | 
| static class  | GeneralName.URINameA URI name. | 
| static class  | GeneralName.X400AddressAn 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  GeneralNameelement using the given ASN.1 encoder,
 whereGeneralNameis 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, waitofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8Stringpublic 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 ASN1Encodableencoder - the encoder (must not be null)ASN1Exception - if the general name is invalidCopyright © 2020 JBoss by Red Hat. All rights reserved.