C# Class Goedel.Cryptography.KeyPair

显示文件 Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ContainerName ( string UDF ) : string

Generate a key container name from a UDF fingerprint.

FindLocal ( string UDF ) : KeyPair

Search all the local machine stores to find a key pair with the specified fingerprint

GetKeyPair ( AsymmetricAlgorithm AsymmetricAlgorithm ) : KeyPair

Get the key associated with a system asymmetric provider.

GetPrivate ( ) : void

Search for the local key with the specified UDF fingerprint.

GetUDFBytes ( ) : byte[]

Returns the UDF fingerprint of the current key as a byte array.

Method Details

ContainerName() public static method

Generate a key container name from a UDF fingerprint.
public static ContainerName ( string UDF ) : string
UDF string UDF fingerprint value.
return string

FindLocal() public static method

Search all the local machine stores to find a key pair with the specified fingerprint
public static FindLocal ( string UDF ) : KeyPair
UDF string
return KeyPair

GetKeyPair() public static method

Get the key associated with a system asymmetric provider.
public static GetKeyPair ( AsymmetricAlgorithm AsymmetricAlgorithm ) : KeyPair
AsymmetricAlgorithm System.Security.Cryptography.AsymmetricAlgorithm Asymmetric provider.
return KeyPair

GetPrivate() public abstract method

Search for the local key with the specified UDF fingerprint.
public abstract GetPrivate ( ) : void
return void

GetUDFBytes() public method

Returns the UDF fingerprint of the current key as a byte array.
public GetUDFBytes ( ) : byte[]
return byte[]