Package org.bouncycastle.asn1.cms
Class EncryptedContentInfoParser
- java.lang.Object
-
- org.bouncycastle.asn1.cms.EncryptedContentInfoParser
-
public class EncryptedContentInfoParser extends java.lang.Object
Parser for RFC 5652 EncryptedContentInfo object.EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description EncryptedContentInfoParser(ASN1SequenceParser seq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmIdentifier
getContentEncryptionAlgorithm()
ASN1ObjectIdentifier
getContentType()
ASN1Encodable
getEncryptedContent(int tag)
-
-
-
Constructor Detail
-
EncryptedContentInfoParser
public EncryptedContentInfoParser(ASN1SequenceParser seq) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getContentType
public ASN1ObjectIdentifier getContentType()
-
getContentEncryptionAlgorithm
public AlgorithmIdentifier getContentEncryptionAlgorithm()
-
getEncryptedContent
public ASN1Encodable getEncryptedContent(int tag) throws java.io.IOException
- Throws:
java.io.IOException
-
-