All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.pkcs.PKCS7EncryptedData

java.lang.Object
   |
   +----iaik.pkcs.PKCS7EncryptedData

public class PKCS7EncryptedData
extends Object
implements PKCS7Content
This class implements the PKCS#7 EncryptedData type.


Constructor Index

 o PKCS7EncryptedData()
Default constructor.
 o PKCS7EncryptedData(ASN1Object)
Creates a PKCS#7 EncryptedData from a ASN1Object.

Method Index

 o getContentType()
 o getEncryptedContentInfo()
 o toASN1Object()
Returns this PKCS#7 EncryptedData as ASN1Object.
 o toString()
Returns a string that represents the contents of the extensions.
 o toString(boolean)
Returns a string that represents the contents of the extensions.

Constructors

 o PKCS7EncryptedData
 public PKCS7EncryptedData()
Default constructor. Creates an empty object.

 o PKCS7EncryptedData
 public PKCS7EncryptedData(ASN1Object obj) throws CodingException
Creates a PKCS#7 EncryptedData from a ASN1Object.

Parameters:
obj - the PKCS#7 EncryptedData as a ASN1Object
Throws: PKCSException
if the ASN1Object could not be parsed

Methods

 o getContentType
 public ObjectID getContentType()
 o toASN1Object
 public ASN1Object toASN1Object()
Returns this PKCS#7 EncryptedData as ASN1Object.

Returns:
this PKCS#7 EncryptedData as ASN1Object
 o getEncryptedContentInfo
 public EncryptedContentInfo getEncryptedContentInfo()
 o toString
 public String toString()
Returns a string that represents the contents of the extensions.

Returns:
the string representation
Overrides:
toString in class Object
 o toString
 public String toString(boolean detailed)
Returns a string that represents the contents of the extensions.

Parameters:
detailed - - whether or not to give detailed information about the certificate.
Returns:
the string representation

All Packages  Class Hierarchy  This Package  Previous  Next  Index