
public static final class GeneralName.EDIPartyName 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 |
|---|
EDIPartyName(byte[] encodedName)
Create an
EDIPartyName that is defined as: |
EDIPartyName(byte[] encoded,
boolean valueBytesOnly)
Create an
EDIPartyName that is defined as: |
| 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.EDIPartyName other) |
boolean |
equals(Object obj) |
byte[] |
getName()
Get the name.
|
int |
hashCode() |
getTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8Stringpublic EDIPartyName(byte[] encodedName)
throws ASN1Exception
Create an EDIPartyName that is defined as:
EDIPartyName ::= SEQUENCE {
nameAssigner [0] DirectoryString OPTIONAL,
partyName [1] DirectoryString }
encodedName - the DER encoded form of the name, as a byte arrayASN1Exception - if encodedName is not DER encodedpublic EDIPartyName(byte[] encoded,
boolean valueBytesOnly)
throws ASN1Exception
Create an EDIPartyName that is defined as:
EDIPartyName ::= SEQUENCE {
nameAssigner [0] DirectoryString OPTIONAL,
partyName [1] DirectoryString }
encoded - the DER encoded form of the name or the value bytes from the DER encoded form of the name, as a byte arrayvalueBytesOnly - whether or not encoded contains only the value bytes from the DER encoded form of the nameASN1Exception - if encoded is not DER encodedpublic byte[] 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.EDIPartyName other)
Copyright © 2020 JBoss by Red Hat. All rights reserved.