Web3S_Demo > Web 3S Crypto Function Library > Convert Public Key (DER -> PEM)

Convert Public Key (DER -> PEM)

Converts a DER-encoded public key into a PEM-encoded public key.

Inputs

In
Exec

Public Key (D ER)
Array of Bytes

if raw, DER-encoded public key data

Outputs

Out
Exec

Error Message
String

if failed, error message

Public Key (P EM)
Array of Bytes

if successful, raw, PEM-encoded public key data

Success
Boolean

True if conversion was successful, false otherwise