fromPem

fun fromPem(pemEncoding: String, publicKey: EcPublicKey): EcPrivateKey

Creates an EcPrivateKey from a PEM encoded string.

Return

a new EcPrivateKey

Parameters

pemEncoding

the PEM encoded string.

publicKey

the corresponding public key.