Class EncKeyWithID

    • Method Detail

      • getInstance

        public static EncKeyWithID getInstance​(java.lang.Object o)
      • hasIdentifier

        public boolean hasIdentifier()
      • isIdentifierUTF8String

        public boolean isIdentifierUTF8String()
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
         EncKeyWithID ::= SEQUENCE {
              privateKey           PrivateKeyInfo,
              identifier CHOICE {
                 string               UTF8String,
                 generalName          GeneralName
             } OPTIONAL
         }
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        an ASN.1 primitive composition of this EncKeyWithID.