Class EDIPartyName


  • public final class EDIPartyName
    extends Object
    The class encapsulates the ASN.1 DER encoding/decoding work with the following structure which is a subpart of GeneralName (as specified in RFC 3280 - Internet X.509 Public Key Infrastructure. Certificate and Certificate Revocation List (CRL) Profile. http://www.ietf.org/rfc/rfc3280.txt):
       EDIPartyName ::= SEQUENCE {
            nameAssigner            [0]     DirectoryString OPTIONAL,
            partyName               [1]     DirectoryString
       }
    
       DirectoryString ::= CHOICE {
            teletexString             TeletexString   (SIZE (1..MAX)),
            printableString           PrintableString (SIZE (1..MAX)),
            universalString           UniversalString (SIZE (1..MAX)),
            utf8String              UTF8String      (SIZE (1..MAX)),
            bmpString               BMPString       (SIZE (1..MAX))
       }
     
    • Field Detail

      • ASN1

        public static final ASN1Sequence ASN1
        ASN.1 DER X.509 EDIPartyName encoder/decoder class.
    • Method Detail

      • getEncoded

        public byte[] getEncoded()
        Returns ASN.1 encoded form of this X.509 EDIPartyName value.