public class SafeBag extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private ASN1Set |
bagAttributes |
private ASN1ObjectIdentifier |
bagId |
private ASN1Encodable |
bagValue |
Modifier | Constructor and Description |
---|---|
|
SafeBag(ASN1ObjectIdentifier oid,
ASN1Encodable obj) |
|
SafeBag(ASN1ObjectIdentifier oid,
ASN1Encodable obj,
ASN1Set bagAttributes) |
private |
SafeBag(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
ASN1Set |
getBagAttributes() |
ASN1ObjectIdentifier |
getBagId() |
ASN1Encodable |
getBagValue() |
static SafeBag |
getInstance(Object obj) |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private ASN1ObjectIdentifier bagId
private ASN1Encodable bagValue
private ASN1Set bagAttributes
public SafeBag(ASN1ObjectIdentifier oid, ASN1Encodable obj)
public SafeBag(ASN1ObjectIdentifier oid, ASN1Encodable obj, ASN1Set bagAttributes)
private SafeBag(ASN1Sequence seq)
public static SafeBag getInstance(Object obj)
public ASN1ObjectIdentifier getBagId()
public ASN1Encodable getBagValue()
public ASN1Set getBagAttributes()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object