PublicKeyExtensionsGetCryptBlob Method

Gets Microsoft-compatible public key blob from public key instance.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public static byte[] GetCryptBlob(
	this PublicKey publicKey
)

Parameters

publicKey  PublicKey
Public key instance.

Return Value

Byte
A binary representation of Microsoft-specific public key blob, which can be either depending on a public key:

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PublicKey. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentException Public key algorithm is not supported on the current platform.

See Also