org.gudy.bouncycastle.asn1.pkcs
Class SafeBag

java.lang.Object
  extended by org.gudy.bouncycastle.asn1.pkcs.SafeBag
All Implemented Interfaces:
DEREncodable

public class SafeBag
extends Object
implements DEREncodable


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 getDERObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeBag

public SafeBag(DERObjectIdentifier oid,
               DERObject obj)

SafeBag

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

SafeBag

public SafeBag(ASN1Sequence seq)
Method Detail

getBagId

public DERObjectIdentifier getBagId()

getBagValue

public DERObject getBagValue()

getBagAttributes

public ASN1Set getBagAttributes()

getDERObject

public DERObject getDERObject()
Specified by:
getDERObject in interface DEREncodable