public static CertificateList getInstance( ASN1TaggedObject obj, boolean explicit) { return getInstance(ASN1Sequence.getInstance(obj, explicit)); }
public static CertificateList getInstance( ASN1TaggedObject obj, boolean explicit) { return getInstance(ASN1Sequence.getInstance(obj, explicit)); }
/** * Base constructor. * * @param crl CRL to be used a the source for the holder creation. * @throws CRLException if there is a problem extracting the CRL information. */ public JcaX509CRLHolder(X509CRL crl) throws CRLException { super(CertificateList.getInstance(crl.getEncoded())); } }
private void readObject( ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); init(CertificateList.getInstance(in.readObject())); }
/** * Base constructor. * * @param crl CRL to be used a the source for the holder creation. * @throws CRLException if there is a problem extracting the CRL information. */ public JcaX509CRLHolder(X509CRL crl) throws CRLException { super(CertificateList.getInstance(crl.getEncoded())); } }
private CRL readPEMCRL( InputStream in) throws IOException, CRLException { ASN1Sequence seq = PEM_PARSER.readPEMObject(in); if (seq != null) { return new X509CRLObject(CertificateList.getInstance(seq)); } return null; }
private CRL readPEMCRL( InputStream in) throws IOException, CRLException { ASN1Sequence seq = PEM_PARSER.readPEMObject(in); if (seq != null) { return new X509CRLObject(CertificateList.getInstance(seq)); } return null; }
public CertificateList[] getCertificateLists() { CertificateList[] result = new CertificateList[content.size()]; for (int i = 0; i != result.length; i++) { result[i] = CertificateList.getInstance(content.getObjectAt(i)); } return result; }
private CRL readPEMCRL( InputStream in) throws IOException, CRLException { ASN1Sequence seq = PEM_CRL_PARSER.readPEMObject(in); if (seq != null) { return createCRL( CertificateList.getInstance(seq)); } return null; }
public CertificateList[] getCertificateLists() { CertificateList[] result = new CertificateList[content.size()]; for (int i = 0; i != result.length; i++) { result[i] = CertificateList.getInstance(content.getObjectAt(i)); } return result; }
public CertificateList[] getCrls() { if (crls == null) { return null; } CertificateList[] results = new CertificateList[crls.size()]; for (int i = 0; i != results.length; i++) { results[i] = CertificateList.getInstance(crls.getObjectAt(i)); } return results; }
public CertificateList[] getCrls() { if (crls == null) { return null; } CertificateList[] results = new CertificateList[crls.size()]; for (int i = 0; i != results.length; i++) { results[i] = CertificateList.getInstance(crls.getObjectAt(i)); } return results; }
private CRL getCRL() throws CRLException { if (sCrlData == null || sCrlDataObjectCount >= sCrlData.size()) { return null; } return createCRL( CertificateList.getInstance( sCrlData.getObjectAt(sCrlDataObjectCount++))); }
private CRL getCRL() throws CRLException { if (sData == null || sDataObjectCount >= sData.size()) { return null; } return new X509CRLObject( CertificateList.getInstance( sData.getObjectAt(sDataObjectCount++))); }
private CRL getCRL() throws CRLException { if (sData == null || sDataObjectCount >= sData.size()) { return null; } return new X509CRLObject( CertificateList.getInstance( sData.getObjectAt(sDataObjectCount++))); }
private CRL getCRL() throws CRLException { if (sCrlData == null || sCrlDataObjectCount >= sCrlData.size()) { return null; } return createCRL( CertificateList.getInstance( sCrlData.getObjectAt(sCrlDataObjectCount++))); }
private TimeStampAndCRL(ASN1Sequence seq) { this.timeStamp = ContentInfo.getInstance(seq.getObjectAt(0)); if (seq.size() == 2) { this.crl = CertificateList.getInstance(seq.getObjectAt(1)); } }
private TimeStampAndCRL(ASN1Sequence seq) { this.timeStamp = ContentInfo.getInstance(seq.getObjectAt(0)); if (seq.size() == 2) { this.crl = CertificateList.getInstance(seq.getObjectAt(1)); } }
private static CertificateList generateCRLStructure(TBSCertList tbsCertList, AlgorithmIdentifier sigAlgId, byte[] signature) { ASN1EncodableVector v = new ASN1EncodableVector(); v.add(tbsCertList); v.add(sigAlgId); v.add(new DERBitString(signature)); return CertificateList.getInstance(new DERSequence(v)); }
private static CertificateList generateCRLStructure(TBSCertList tbsCertList, AlgorithmIdentifier sigAlgId, byte[] signature) { ASN1EncodableVector v = new ASN1EncodableVector(); v.add(tbsCertList); v.add(sigAlgId); v.add(new DERBitString(signature)); return CertificateList.getInstance(new DERSequence(v)); }