use of com.github.zhenwei.provider.jce.provider.X509CRLObject in project LinLong-Java by zhenwei1108.
the class X509V2CRLGenerator method generateJcaObject.
private X509CRL generateJcaObject(TBSCertList tbsCrl, byte[] signature) throws CRLException {
ASN1EncodableVector v = new ASN1EncodableVector();
v.add(tbsCrl);
v.add(sigAlgId);
v.add(new DERBitString(signature));
return new X509CRLObject(CertificateList.getInstance(new DERSequence(v)));
}
Aggregations