List of usage examples for org.bouncycastle.asn1.cmp RevRepContent getCrls
public CertificateList[] getCrls()
From source file:org.cryptable.pki.communication.PKICMPMessages.java
License:Open Source License
X509CRL processRevocation(PKIBody pkiBody) throws CRLException { JcaX509CRLConverter jcaX509CRLConverter = new JcaX509CRLConverter(); RevRepContent revRepContent = RevRepContent.getInstance(pkiBody.getContent()); return jcaX509CRLConverter.getCRL(new X509CRLHolder(revRepContent.getCrls()[0])); }