Show / Hide Table of Contents

Curve25519PublicKey Class

Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dll
C#
public sealed class Curve25519PublicKey : PublicKey, IPublicKey, IKeyBase
Inheritance object PublicKey Curve25519PublicKey
Implements
IPublicKey
IKeyBase

Properties

Name Description
KeyDefinition

Gets the key definition associated with this RSA private key.

KeyType

Gets the type of the cryptographic key.

PublicPoint

Gets the bytes representing the public key coordinates as a compressed point.

Methods

Name Description
CreateFromPkcs8(ReadOnlyMemory<byte>)

Creates a new instance of Curve25519PublicKey from a DER-encoded public key.

CreateFromValue(ReadOnlyMemory<byte>, KeyType)

Creates an instance of Curve25519PublicKey from the given publicPoint and keyType.

ExportSubjectPublicKeyInfo()

Converts this public key to an ASN.1 DER encoded format (X.509 SubjectPublicKeyInfo).

Extension Methods

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