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.
-
PKCS7EncryptedData()
- Default constructor.
-
PKCS7EncryptedData(ASN1Object)
- Creates a PKCS#7 EncryptedData from a ASN1Object.
-
getContentType()
-
-
getEncryptedContentInfo()
-
-
toASN1Object()
- Returns this PKCS#7 EncryptedData as ASN1Object.
-
toString()
- Returns a string that represents the contents of the extensions.
-
toString(boolean)
- Returns a string that represents the contents of the extensions.
PKCS7EncryptedData
public PKCS7EncryptedData()
- Default constructor. Creates an empty object.
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
getContentType
public ObjectID getContentType()
toASN1Object
public ASN1Object toASN1Object()
- Returns this PKCS#7 EncryptedData as ASN1Object.
- Returns:
- this PKCS#7 EncryptedData as ASN1Object
getEncryptedContentInfo
public EncryptedContentInfo getEncryptedContentInfo()
toString
public String toString()
- Returns a string that represents the contents of the extensions.
- Returns:
- the string representation
- Overrides:
- toString in class Object
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