public class

EncryptedContentInfo

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cms.EncryptedContentInfo

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
EncryptedContentInfo(DERObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, ASN1OctetString encryptedContent)
EncryptedContentInfo(ASN1Sequence seq)
Public Methods
AlgorithmIdentifier getContentEncryptionAlgorithm()
DERObjectIdentifier getContentType()
ASN1OctetString getEncryptedContent()
static EncryptedContentInfo getInstance(Object obj)
return an EncryptedContentInfo object from the given object.
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public EncryptedContentInfo (DERObjectIdentifier contentType, AlgorithmIdentifier contentEncryptionAlgorithm, ASN1OctetString encryptedContent)

public EncryptedContentInfo (ASN1Sequence seq)

Public Methods

public AlgorithmIdentifier getContentEncryptionAlgorithm ()

public DERObjectIdentifier getContentType ()

public ASN1OctetString getEncryptedContent ()

public static EncryptedContentInfo getInstance (Object obj)

return an EncryptedContentInfo object from the given object.

Parameters
obj the object we want converted.
Throws
IllegalArgumentException if the object cannot be converted.

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

 EncryptedContentInfo ::= SEQUENCE {
     contentType ContentType,
     contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
     encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL 
 }