Function import_pkcs8_der_key

Source
pub fn import_pkcs8_der_key(
    encoded_key: &[u8],
) -> Result<SshKeyView, SshKeyImportError>
Expand description

Import a DER encoded private key, and returns a decoded SshKeyView. This is primarily used for importing SSH keys from other Credential Managers through Credential Exchange.