CertificateList ::= SEQUENCE { tbsCertList TBSCertList, signatureAlgorithm AlgorithmIdentifier, signatureValue BIT STRING }
if (seq.size() == 3) { tbsCertList = TBSCertList.getInstance(seq.getObjectAt(0)); sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); sig = DERBitString.getInstance(seq.getObjectAt(2)); } else { throw new IllegalArgumentException("sequence wrong size for CertificateList"); }
return getInstance(ASN1Sequence.getInstance(obj, explicit));
if (obj instanceof CertificateList) { return (CertificateList)obj; } else if (obj instanceof ASN1Sequence) { return new CertificateList((ASN1Sequence)obj); } throw new IllegalArgumentException("unknown object in factory");
return tbsCertList.getIssuer();
return tbsCertList.getNextUpdate();
return tbsCertList.getRevokedCertificates();
return sig;
return sigAlgId;
return tbsCertList;
return tbsCertList.getThisUpdate();
return tbsCertList.getVersion();
ASN1EncodableVector v = new ASN1EncodableVector(); v.add(tbsCertList); v.add(sigAlgId); v.add(sig); return new DERSequence(v);