All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.pkcs.PKCS12SafeBag

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

public class PKCS12SafeBag
extends Object
This class implements a PKCS#12 SafeBag.


Constructor Index

 o PKCS12SafeBag()
Default constructor.
 o PKCS12SafeBag(ASN1Object)
Creates a PKCS#12 object from a ASN1Object.

Method Index

 o getBagContent()
Returns the content of this bag.
 o getBagType()
Returns the ObjectID of the type of this bag.
 o toASN1Object()
Returns this PKCS#12 object as ASN1Object.
 o toString()
Returns a string that represents the contents of the extensions.

Constructors

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

 o PKCS12SafeBag
 public PKCS12SafeBag(ASN1Object obj) throws PKCSException
Creates a PKCS#12 object from a ASN1Object.

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

Methods

 o getBagType
 public ObjectID getBagType()
Returns the ObjectID of the type of this bag. Possible values are:

Returns:
the type of this bag
 o getBagContent
 public Object getBagContent()
Returns the content of this bag.

Returns:
the content of this bag
 o toASN1Object
 public ASN1Object toASN1Object()
Returns this PKCS#12 object as ASN1Object.

Returns:
this PKCS#12 object as ASN1Object
 o toString
 public String toString()
Returns a string that represents the contents of the extensions.

Returns:
the string representation
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index