Package org.bouncycastle.asn1.pkcs
Class SafeBag
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.pkcs.SafeBag
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionSafeBag
(ASN1ObjectIdentifier oid, ASN1Encodable obj) SafeBag
(ASN1ObjectIdentifier oid, ASN1Encodable obj, ASN1Set bagAttributes) -
Method Summary
Modifier and TypeMethodDescriptiongetBagId()
static SafeBag
getInstance
(Object obj) Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
SafeBag
-
SafeBag
-
-
Method Details
-
getInstance
-
getBagId
-
getBagValue
-
getBagAttributes
-
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-