Show / Hide Table of Contents

Curve25519PrivateKey Class

Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dll
C#
public sealed class Curve25519PrivateKey : PrivateKey, IPrivateKey, IKeyBase
Inheritance object PrivateKey Curve25519PrivateKey
Implements
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 privateKey and keyType.

ExportPkcs8PrivateKey()

Exports the current key in the PKCS#8 PrivateKeyInfo format.

Extension Methods

IPrivateKeyExtensions.Cast<T>(IPrivateKey)
KeyExtensions.EncodeAsPiv(IPrivateKey)
In this article
Back to top Generated by DocFX