Show / Hide Table of Contents

RSAPublicKey Class

Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dll
C#
public sealed class RSAPublicKey : PublicKey, IPublicKey, IKeyBase
Inheritance object PublicKey RSAPublicKey
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.

Parameters

Gets the RSA cryptographic parameters required for the private key operations.

Methods

Name Description
CreateFromParameters(RSAParameters)

Creates a new instance of RSAPublicKey from the given parameters.

CreateFromPkcs8(ReadOnlyMemory<byte>)

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

ExportSubjectPublicKeyInfo()

Exports the public-key portion of the current key in the X.509 SubjectPublicKeyInfo format.

Extension Methods

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