Class GeneralName.RegisteredID

    • Field Detail

      • name

        private final String name
    • Constructor Detail

      • RegisteredID

        public RegisteredID​(String name)
        Create a registered ID name.
        name - the registered ID name, as a String
    • Method Detail

      • encodeTo

        public void encodeTo​(ASN1Encoder encoder)
        Description copied from class: 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

        Specified by:
        encodeTo in interface ASN1Encodable
        Specified by:
        encodeTo in class GeneralName
        encoder - the encoder (must not be null)
      • hashCode

        public int hashCode()
        hashCode in class Object