List of usage examples for org.bouncycastle.pkcs.jcajce JcaPKCS10CertificationRequest getEncoded
public byte[] getEncoded() throws IOException
From source file:org.cesecore.certificates.certificate.request.PKCS10RequestMessage.java
License:Open Source License
/** * Constructs a new PKCS#10 message handler object. * * @param p10 the PKCS#10 request// w w w .ja v a2s .c o m * @throws IOException */ public PKCS10RequestMessage(JcaPKCS10CertificationRequest p10) throws IOException { if (log.isTraceEnabled()) { log.trace(">PKCS10RequestMessage(ExtendedPKCS10CertificationRequest)"); } p10msg = p10.getEncoded(); pkcs10 = p10; if (log.isTraceEnabled()) { log.trace("<PKCS10RequestMessage(ExtendedPKCS10CertificationRequest)"); } }