FileDocCategorySizeDatePackage
CertificateList.javaAPI DocAzureus 3.0.3.42631Tue Jun 08 05:12:56 BST 2004org.bouncycastle.asn1.x509

CertificateList

public class CertificateList extends Object implements org.bouncycastle.asn1.DEREncodable
PKIX RFC-2459 The X.509 v2 CRL syntax is as follows. For signature calculation, the data that is to be signed is ASN.1 DER encoded.
CertificateList ::= SEQUENCE {
tbsCertList TBSCertList,
signatureAlgorithm AlgorithmIdentifier,
signatureValue BIT STRING }

Fields Summary
TBSCertList
tbsCertList
AlgorithmIdentifier
sigAlgId
org.bouncycastle.asn1.DERBitString
sig
Constructors Summary
public CertificateList(org.bouncycastle.asn1.ASN1Sequence seq)

        tbsCertList = TBSCertList.getInstance(seq.getObjectAt(0));
        sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1));
        sig = (DERBitString)seq.getObjectAt(2);
    
Methods Summary
public org.bouncycastle.asn1.DERObjectgetDERObject()

        ASN1EncodableVector v = new ASN1EncodableVector();

        v.add(tbsCertList);
        v.add(sigAlgId);
        v.add(sig);

        return new DERSequence(v);
    
public static org.bouncycastle.asn1.x509.CertificateListgetInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)

        return getInstance(ASN1Sequence.getInstance(obj, explicit));
    
public static org.bouncycastle.asn1.x509.CertificateListgetInstance(java.lang.Object obj)

        if (obj instanceof CertificateList)
        {
            return (CertificateList)obj;
        }
        else if (obj instanceof ASN1Sequence)
        {
            return new CertificateList((ASN1Sequence)obj);
        }

        throw new IllegalArgumentException("unknown object in factory");
    
public X509NamegetIssuer()

        return tbsCertList.getIssuer();
    
public TimegetNextUpdate()

        return tbsCertList.getNextUpdate();
    
public TBSCertList.CRLEntry[]getRevokedCertificates()

        return tbsCertList.getRevokedCertificates();
    
public org.bouncycastle.asn1.DERBitStringgetSignature()

        return sig;
    
public AlgorithmIdentifiergetSignatureAlgorithm()

        return sigAlgId;
    
public TBSCertListgetTBSCertList()

        return tbsCertList;
    
public TimegetThisUpdate()

        return tbsCertList.getThisUpdate();
    
public intgetVersion()

        return tbsCertList.getVersion();