pub fn encode_pkcs8_der(sk: &AgileSigningKey) -> Result<Vec<u8>>Expand description
Encodes an SLH-DSA 4n-byte private key into RFC 9909 PKCS#8 DER.
The key is written directly into the returned buffer (no intermediate copies).
pub fn encode_pkcs8_der(sk: &AgileSigningKey) -> Result<Vec<u8>>Encodes an SLH-DSA 4n-byte private key into RFC 9909 PKCS#8 DER.
The key is written directly into the returned buffer (no intermediate copies).