C# Class Goedel.Cryptography.CertificateStore

Interface to the platform certificate store. Calls dispatch methods that have been registered by a subclass.
Show file Open project: hallambaker/Mathematical-Mesh

Protected Properties

Property Type Description
PlatformClean DelegateClean
PlatformGet DelegateGet
PlatformRegister DelegateRegister
PlatformRegisterTrustedRoot DelegateRegisterTrustedRoot
PlatformRegisterTrustedRootByte DelegateRegisterTrustedRootByte

Public Methods

Method Description
Clean ( ) : void

Clean all certificate stores to remove test certificates

Get ( string Fingerprint ) : Certificate

Find the certificate with a specified fingerprint.

Register ( Goedel.Cryptography.PKIX Certificate ) : void

Register a certificate in the default Windows store and location for that type of certificate.

RegisterTrustedRoot ( Goedel.Cryptography.PKIX Certificate ) : void

Register a certificate in the default Windows store and location for that type of certificate.

RegisterTrustedRoot ( byte Data ) : void

Register a certificate in the default Windows store and location for that type of certificate.

Method Details

Clean() public static method

Clean all certificate stores to remove test certificates
public static Clean ( ) : void
return void

Get() public static method

Find the certificate with a specified fingerprint.
public static Get ( string Fingerprint ) : Certificate
Fingerprint string
return Goedel.Cryptography.PKIX.Certificate

Register() public static method

Register a certificate in the default Windows store and location for that type of certificate.
public static Register ( Goedel.Cryptography.PKIX Certificate ) : void
Certificate Goedel.Cryptography.PKIX Certificate to register.
return void

RegisterTrustedRoot() public static method

Register a certificate in the default Windows store and location for that type of certificate.
public static RegisterTrustedRoot ( Goedel.Cryptography.PKIX Certificate ) : void
Certificate Goedel.Cryptography.PKIX Certificate to register.
return void

RegisterTrustedRoot() public static method

Register a certificate in the default Windows store and location for that type of certificate.
public static RegisterTrustedRoot ( byte Data ) : void
Data byte Certificate to register.
return void

Property Details

PlatformClean protected static property

The delegate for Register(GCP.Certificate Certificate)
protected static DelegateClean PlatformClean
return DelegateClean

PlatformGet protected static property

The delegate for Register(GCP.Certificate Certificate)
protected static DelegateGet PlatformGet
return DelegateGet

PlatformRegister protected static property

The delegate for Register(GCP.Certificate Certificate)
protected static DelegateRegister PlatformRegister
return DelegateRegister

PlatformRegisterTrustedRoot protected static property

The delegate for Register(GCP.Certificate Certificate)
protected static DelegateRegisterTrustedRoot PlatformRegisterTrustedRoot
return DelegateRegisterTrustedRoot

PlatformRegisterTrustedRootByte protected static property

The delegate for Register(GCP.Certificate Certificate)
protected static DelegateRegisterTrustedRootByte PlatformRegisterTrustedRootByte
return DelegateRegisterTrustedRootByte