net.corda.core.crypto / X509Utilities / loadCertificateFromPEMFile

loadCertificateFromPEMFile

fun loadCertificateFromPEMFile(filename: Path): X509Certificate

Helper method to load back a .pem/.cer format file copy of a certificate

Parameters

filename - Source filename

Return
The X509Certificate that was encoded in the file