Class EnvelopedDataParser


  • public class EnvelopedDataParser
    extends java.lang.Object
    Parser of RFC 5652 EnvelopedData object.

     EnvelopedData ::= SEQUENCE {
         version CMSVersion,
         originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
         recipientInfos RecipientInfos,
         encryptedContentInfo EncryptedContentInfo,
         unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL 
     }
     
    • Constructor Detail

      • EnvelopedDataParser

        public EnvelopedDataParser​(ASN1SequenceParser seq)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getOriginatorInfo

        public OriginatorInfo getOriginatorInfo()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getRecipientInfos

        public ASN1SetParser getRecipientInfos()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getEncryptedContentInfo

        public EncryptedContentInfoParser getEncryptedContentInfo()
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getUnprotectedAttrs

        public ASN1SetParser getUnprotectedAttrs()
                                          throws java.io.IOException
        Throws:
        java.io.IOException