pub async fn import_signing_key_pkcs8(
pkcs8: impl Into<Vec<u8>>,
options: SigningKeyOptions,
) -> Result<SigningKey, Error>Expand description
Import a signing key as a PKCS#8 PrivateKeyInfo (DER, RFC 8410: the
32-byte seed in a CurvePrivateKey). Returns only the signing key; the
public half is imported separately (there is no derive from a private
import — see the WIT ed25519-sign interface doc).