public class

EncryptedData

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.pkcs.EncryptedData

Class Overview

The EncryptedData object.

      EncryptedData ::= SEQUENCE {
           version Version,
           encryptedContentInfo EncryptedContentInfo
      }


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

    EncryptedContent ::= OCTET STRING
 

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
EncryptedData(ASN1Sequence seq)
EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content)
Public Methods
ASN1OctetString getContent()
DERObjectIdentifier getContentType()
AlgorithmIdentifier getEncryptionAlgorithm()
static EncryptedData getInstance(Object obj)
DERObject toASN1Object()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public EncryptedData (ASN1Sequence seq)

public EncryptedData (DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content)

Public Methods

public ASN1OctetString getContent ()

public DERObjectIdentifier getContentType ()

public AlgorithmIdentifier getEncryptionAlgorithm ()

public static EncryptedData getInstance (Object obj)

public DERObject toASN1Object ()