RSAPrivateKey Class
Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dllC#
public sealed class RSAPrivateKey : PrivateKey, IPrivateKey, IKeyBase
Properties
Name | Description |
---|---|
KeyDefinition | Gets the key definition associated with this RSA private key. |
KeyType | Gets the type of the cryptographic key. |
Parameters | Gets the RSA cryptographic parameters required for the private key operations. |
Methods
Name | Description |
---|---|
Clear() | Securely clears the RSA private key by zeroing out all parameters. |
CreateFromParameters(RSAParameters) | Creates a new instance of RSAPrivateKey from the given
|
CreateFromPkcs8(ReadOnlyMemory<byte>) | Creates a new instance of RSAPrivateKey from a DER-encoded PKCS#8 private key. |
ExportPkcs8PrivateKey() | Exports the RSA private key in PKCS#8 DER encoded format. |