Function secret_key_from_pem
Source pub fn secret_key_from_pem(secret_key: &str) -> Result<SecretKey, Box<SdkError>>
Expand description
Parses a secret key in PEM format into a SecretKey object.
§Arguments
secret_key - The secret key in PEM format.
§Returns
A Result containing the parsed SecretKey or an error if parsing fails.