Top Fields Constructors Methods
org.bouncycastle.pkcs

public Class PKCS12SafeBag

extends Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1ObjectIdentifier, .ASN1OctetString, .ASN1Set, org.bouncycastle.asn1.pkcs.Attribute, .CRLBag, .CertBag, .EncryptedPrivateKeyInfo, .PKCSObjectIdentifiers, .PrivateKeyInfo, .SafeBag, org.bouncycastle.asn1.x509.Certificate, .CertificateList, org.bouncycastle.cert.X509CRLHolder, .X509CertificateHolder

Field Summary

Modifier and TypeField and Description
public static final ASN1ObjectIdentifier
public static final ASN1ObjectIdentifier
private SafeBag

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Attribute[]
public Object
public ASN1ObjectIdentifier

Returns:

the bagId
getType
()

Return the BagId giving the type of content in the bag.

public SafeBag

Returns:

a SafeBag
toASN1Structure
()

Return the underlying ASN.1 structure for this safe bag.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

friendlyNameAttributeback to summary
public static final ASN1ObjectIdentifier friendlyNameAttribute
localKeyIdAttributeback to summary
public static final ASN1ObjectIdentifier localKeyIdAttribute
safeBagback to summary
private SafeBag safeBag

Constructor Detail

PKCS12SafeBagback to summary
public PKCS12SafeBag(SafeBag safeBag)

Method Detail

getAttributesback to summary
public Attribute[] getAttributes()
getBagValueback to summary
public Object getBagValue()
getTypeback to summary
public ASN1ObjectIdentifier getType()

Return the BagId giving the type of content in the bag.

Returns:ASN1ObjectIdentifier

the bagId

toASN1Structureback to summary
public SafeBag toASN1Structure()

Return the underlying ASN.1 structure for this safe bag.

Returns:SafeBag

a SafeBag