Function load_mldsa_key

Source
pub fn load_mldsa_key<P: MldsaPkcs8Params>(
    path: impl AsRef<Path>,
) -> Result<(VerifyingKey<P>, Option<SigningKey<P>>)>
Expand description

Load an ML-DSA public or private key from a PEM or DER file, returning the public key and, for a private key file, the private key.