fromPemEncoded

fun fromPemEncoded(pemString: String): PEMKey?(source)

Decodes a PEM-encoded string into a PEMKey object.

Return

A PEMKey object if the decoding was successful, or null otherwise.

Parameters

pemString

The PEM-encoded string to decode.