Bouncy Castle Cryptography Library 1.79

org.bouncycastle.asn1.cms
Class EncryptedContentInfoParser

java.lang.Object
  extended byorg.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
EncryptedContentInfoParser(org.bouncycastle.asn1.ASN1SequenceParser seq)
           
 
Method Summary
 org.bouncycastle.asn1.x509.AlgorithmIdentifier getContentEncryptionAlgorithm()
           
 org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
           
 org.bouncycastle.asn1.ASN1Encodable getEncryptedContent(int tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedContentInfoParser

public EncryptedContentInfoParser(org.bouncycastle.asn1.ASN1SequenceParser seq)
                           throws java.io.IOException
Method Detail

getContentType

public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()

getContentEncryptionAlgorithm

public org.bouncycastle.asn1.x509.AlgorithmIdentifier getContentEncryptionAlgorithm()

getEncryptedContent

public org.bouncycastle.asn1.ASN1Encodable getEncryptedContent(int tag)
                                                        throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.79