FileDocCategorySizeDatePackage
CertBag.javaAPI DocAzureus 3.0.3.41241Tue Jun 08 05:12:58 BST 2004org.bouncycastle.asn1.pkcs

CertBag

public class CertBag extends Object implements org.bouncycastle.asn1.DEREncodable

Fields Summary
org.bouncycastle.asn1.ASN1Sequence
seq
org.bouncycastle.asn1.DERObjectIdentifier
certId
org.bouncycastle.asn1.DERObject
certValue
Constructors Summary
public CertBag(org.bouncycastle.asn1.ASN1Sequence seq)

        this.seq = seq;
        this.certId = (DERObjectIdentifier)seq.getObjectAt(0);
        this.certValue = ((DERTaggedObject)seq.getObjectAt(1)).getObject();
	
public CertBag(org.bouncycastle.asn1.DERObjectIdentifier certId, org.bouncycastle.asn1.DERObject certValue)

        this.certId = certId;
        this.certValue = certValue;
    
Methods Summary
public org.bouncycastle.asn1.DERObjectIdentifiergetCertId()

		return certId;
	
public org.bouncycastle.asn1.DERObjectgetCertValue()

		return certValue;
    
public org.bouncycastle.asn1.DERObjectgetDERObject()

        ASN1EncodableVector  v = new ASN1EncodableVector();

        v.add(certId);
        v.add(new DERTaggedObject(0, certValue));

        return new DERSequence(v);