Curve25519PrivateKey Class
Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dllC#
public sealed class Curve25519PrivateKey : 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. |
PrivateKey | Gets the bytes representing the private scalar value. |
Methods
Name | Description |
---|---|
Clear() | Clears the private key. |
CreateFromPkcs8(ReadOnlyMemory<byte>) | Creates an instance of Curve25519PrivateKey from a PKCS#8 DER-encoded private key. |
CreateFromValue(ReadOnlyMemory<byte>, KeyType) | Creates an instance of Curve25519PrivateKey from the given
|
ExportPkcs8PrivateKey() | Exports the current key in the PKCS#8 PrivateKeyInfo format. |