Class EncryptedData

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class EncryptedData
    extends ASN1Object
    RFC 5652 EncryptedData object.

     EncryptedData ::= SEQUENCE {
         version CMSVersion,
         encryptedContentInfo EncryptedContentInfo,
         unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
     
    • Method Detail

      • getInstance

        public static EncryptedData getInstance​(java.lang.Object o)
        Return an EncryptedData object from the given object.

        Accepted inputs:

        Parameters:
        o - the object we want converted.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • getUnprotectedAttrs

        public ASN1Set getUnprotectedAttrs()