Bouncy Castle Cryptography 1.11 API Specification: Class EncryptedData
Bouncy Castle Cryptography 1.11

org.bouncycastle.asn1.pkcs
Class EncryptedData

java.lang.Object
  |
  +--org.bouncycastle.asn1.pkcs.EncryptedData
All Implemented Interfaces:
DEREncodable

public class EncryptedData
extends java.lang.Object
implements DEREncodable

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


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

    EncryptedContent ::= OCTET STRING
 


Constructor Summary
EncryptedData(DERConstructedSequence seq)
           
EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DERObject content)
           
 
Method Summary
 DERObject getContent()
           
 DERObjectIdentifier getContentType()
           
 DERObject getDERObject()
           
 AlgorithmIdentifier getEncryptionAlgorithm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedData

public EncryptedData(DERConstructedSequence seq)

EncryptedData

public EncryptedData(DERObjectIdentifier contentType,
                     AlgorithmIdentifier encryptionAlgorithm,
                     DERObject content)
Method Detail

getContentType

public DERObjectIdentifier getContentType()

getEncryptionAlgorithm

public AlgorithmIdentifier getEncryptionAlgorithm()

getContent

public DERObject getContent()

getDERObject

public DERObject getDERObject()
Specified by:
getDERObject in interface DEREncodable

Bouncy Castle Cryptography 1.11