pub fn public_key_from_secret_key(secret_key: &str) -> Result<String, SdkError>
Expand description

Converts a secret key in PEM format to its corresponding public key as a string.

§Arguments

  • secret_key - The secret key in PEM format.

§Returns

A Result containing the public key as a string or an error if the conversion fails.