PublicKeyExtensions Class

Contains extension methods for PublicKey class.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public static class PublicKeyExtensions
Inheritance
Object    PublicKeyExtensions

Methods

Encode Encodes public key to a ASN.1 compatible format that includes key algorithm, key algorithm parameters and encoded key value.
Format Gets a textual representation of public key, including key algorithm and key value and parameters hex dump.
FromRawData Creates a public key instance from an ASN.1-encoded byte array.
GetAsymmetricKeyPair Gets a managed implementation of public key instance.
GetCryptBlob Gets Microsoft-compatible public key blob from public key instance.
GetKeyLength Gets the public key length in bits.
VerifySignature Verifies signature using public key.

See Also