crypto.der_to_pem_ecc_key

crypto

der_to_pem_ecc_key(key_obj) -> pem, err

Convert an ECC key object from DER to PEM format

Accepts a key object table with private and public raw binary fields (as returned by ecc_generate_key) and returns a PEM-encoded EC private key string.