pub async fn import_secret_key_pkcs8(
pkcs8: impl Into<Vec<u8>>,
options: AgreementKeyOptions,
) -> Result<AgreementSecretKey, Error>Expand description
Import a secret key from a PKCS#8 PrivateKeyInfo (DER).
pub async fn import_secret_key_pkcs8(
pkcs8: impl Into<Vec<u8>>,
options: AgreementKeyOptions,
) -> Result<AgreementSecretKey, Error>Import a secret key from a PKCS#8 PrivateKeyInfo (DER).