org.bouncycastle.asn1.pkcs

Class SafeBag

Implemented Interfaces:
DEREncodable

public class SafeBag
extends ASN1Encodable

Constructor Summary

SafeBag(ASN1Sequence seq)
SafeBag(DERObjectIdentifier oid, DERObject obj)
SafeBag(DERObjectIdentifier oid, DERObject obj, ASN1Set bagAttributes)

Method Summary

ASN1Set
getBagAttributes()
DERObjectIdentifier
getBagId()
DERObject
getBagValue()
DERObject
toASN1Object()

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDERObject, getEncoded, hashCode, toASN1Object

Constructor Details

SafeBag

public SafeBag(ASN1Sequence seq)


SafeBag

public SafeBag(DERObjectIdentifier oid,
               DERObject obj)


SafeBag

public SafeBag(DERObjectIdentifier oid,
               DERObject obj,
               ASN1Set bagAttributes)

Method Details

getBagAttributes

public ASN1Set getBagAttributes()


getBagId

public DERObjectIdentifier getBagId()


getBagValue

public DERObject getBagValue()


toASN1Object

public DERObject toASN1Object()
Overrides:
toASN1Object in interface ASN1Encodable