Converts a secret key to a corresponding public key.
secret_key
A JsValue containing the corresponding public key. If an error occurs during the conversion, JavaScript error is returned.
Converts a secret key to a corresponding public key.
Arguments
secret_key
- The secret key in PEM format.Returns
A JsValue containing the corresponding public key. If an error occurs during the conversion, JavaScript error is returned.