certificateFromInputStream

fun certificateFromInputStream(certificateInputStream: InputStream)

Load certificate data from a given input stream. The certificate can be in PEM, P7B/PKCS#7 or DER format.

Parameters

certificateInputStream

input stream to the certificate file.