Package org.bouncycastle.asn1.cms
Class EnvelopedDataParser
- java.lang.Object
-
- org.bouncycastle.asn1.cms.EnvelopedDataParser
-
public class EnvelopedDataParser extends java.lang.Object
Parser of RFC 5652EnvelopedData
object.EnvelopedData ::= SEQUENCE { version CMSVersion, originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL, recipientInfos RecipientInfos, encryptedContentInfo EncryptedContentInfo, unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description EnvelopedDataParser(ASN1SequenceParser seq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedContentInfoParser
getEncryptedContentInfo()
OriginatorInfo
getOriginatorInfo()
ASN1SetParser
getRecipientInfos()
ASN1SetParser
getUnprotectedAttrs()
ASN1Integer
getVersion()
-
-
-
Constructor Detail
-
EnvelopedDataParser
public EnvelopedDataParser(ASN1SequenceParser seq) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getVersion
public ASN1Integer getVersion()
-
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
-
-