Package org.bouncycastle.pkcs
Class PKCS12SafeBag
java.lang.Object
org.bouncycastle.pkcs.PKCS12SafeBag
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.pkcs.Attribute[]
org.bouncycastle.asn1.ASN1ObjectIdentifier
getType()
Return the BagId giving the type of content in the bag.org.bouncycastle.asn1.pkcs.SafeBag
Return the underlying ASN.1 structure for this safe bag.
-
Field Details
-
friendlyNameAttribute
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier friendlyNameAttribute -
localKeyIdAttribute
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier localKeyIdAttribute
-
-
Constructor Details
-
PKCS12SafeBag
public PKCS12SafeBag(org.bouncycastle.asn1.pkcs.SafeBag safeBag)
-
-
Method Details
-
toASN1Structure
public org.bouncycastle.asn1.pkcs.SafeBag toASN1Structure()Return the underlying ASN.1 structure for this safe bag.- Returns:
- a SafeBag
-
getType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getType()Return the BagId giving the type of content in the bag.- Returns:
- the bagId
-
getAttributes
public org.bouncycastle.asn1.pkcs.Attribute[] getAttributes() -
getBagValue
-