getPrivateKey

Parse and return the private keys from the PEM content.

Return

the private keys

Throws

if no private key could be loaded


open fun getPrivateKey(password: String): PrivateKey

Parse and return the private keys from the PEM content or null if there is no private key.

Return

the private keys

Parameters

password

the password to decrypt the private keys or null