I have a List of Byte arrays (representing each certificate from a chain), in PEM format, and I would like to know if there's a way to convert these to a unique PKCS7 formatted String, in Java.
Thank you in advance.
I have a List of Byte arrays (representing each certificate from a chain), in PEM format, and I would like to know if there's a way to convert these to a unique PKCS7 formatted String, in Java.
Thank you in advance.
This is an example to build a PKCS#7 file using a
X509Certificate[]
array based on this answer. It does not require the private key