Skip to content
Advertisement

Extract raw certificate from PKCS#7 file in JAVA

I would like to achieve the same what this openssl command performs, but programmatically in Java:

JavaScript

which means that I have a public key certificate (PKCS #7 Certificate) in DER format and I want to extract the raw certificate contained there to a Base64 file. Is there a way to do this?

Advertisement

Answer

Something like

JavaScript

should work with PKCS#7 encoded certificates.

Cheers,

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement