Class EncryptedKey

    • Constructor Detail

      • EncryptedKey

        public EncryptedKey​(EnvelopedData envelopedData)
      • EncryptedKey

        public EncryptedKey​(EncryptedValue encryptedValue)
    • Method Detail

      • getInstance

        public static EncryptedKey getInstance​(java.lang.Object o)
      • isEncryptedValue

        public boolean isEncryptedValue()
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
            EncryptedKey ::= CHOICE {
                encryptedValue        EncryptedValue, -- deprecated
                envelopedData     [0] EnvelopedData }
                -- The encrypted private key MUST be placed in the envelopedData
                -- encryptedContentInfo encryptedContent OCTET STRING.
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a primitive representation of this object.