C# 클래스 Goedel.Cryptography.CryptoCatalog

Manages a cryptographic catalog and associated key management functions.
파일 보기 프로젝트 열기: hallambaker/Mathematical-Mesh 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Algorithms CryptoAlgorithm[]

공개 메소드들

메소드 설명
Add ( CryptoProvider CryptoProvider ) : void

Add a cryptographic algorithm provider to the catalog

CryptoCatalog ( ) : System

Create and populate a new catalog of cryptographic algorithms including the default providers for all the standard algorithms.

Get ( CryptoAlgorithmID ID ) : CryptoProvider

Get a cryptographic provider by algorithm identifier

Get ( CryptoAlgorithmID ID, CryptoAlgorithmID Bulk ) : CryptoProvider

Get a cryptographic provider by algorithm identifier

GetAsymmetric ( CryptoAlgorithmID ID ) : CryptoProviderAsymmetric

Get a cryptographic provider by algorithm identifier

GetAuthentication ( CryptoAlgorithmID ID ) : CryptoProviderAuthentication

Get a cryptographic provider by algorithm identifier

GetBits ( int Bits ) : byte[]

Returns a byte array with the specified number of random bits.

GetBytes ( int Bytes ) : byte[]

Returns a byte array with the specified number of random bytes.

GetDigest ( CryptoAlgorithmID ID ) : CryptoProviderDigest

Get a cryptographic provider by algorithm identifier

GetEncryption ( CryptoAlgorithmID ID ) : CryptoProviderEncryption

Get a cryptographic provider by algorithm identifier

GetExchange ( CryptoAlgorithmID ID ) : CryptoProviderExchange

Get a cryptographic provider by algorithm identifier

GetExchange ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderExchange

Get a signature provider by algorithm identifier

GetExchange ( string UDF ) : CryptoProviderExchange

Get an exchange provider by key fingerprint.

GetSignature ( CryptoAlgorithmID ID ) : CryptoProviderSignature

Get a cryptographic provider by algorithm identifier

GetSignature ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderSignature

Get a signature provider by algorithm identifier

GetSignature ( string UDF ) : CryptoProviderSignature

Get a signature provider by key fingerprint.

비공개 메소드들

메소드 설명
OrDefault ( CryptoAlgorithmID Value, CryptoAlgorithmID Default ) : CryptoAlgorithmID
SetDefault ( CryptoAlgorithmID &Current, CryptoAlgorithm New, CryptoAlgorithmID ID, CryptoAlgorithmClass Class ) : void

메소드 상세

Add() 공개 메소드

Add a cryptographic algorithm provider to the catalog
public Add ( CryptoProvider CryptoProvider ) : void
CryptoProvider CryptoProvider
리턴 void

CryptoCatalog() 공개 메소드

Create and populate a new catalog of cryptographic algorithms including the default providers for all the standard algorithms.
public CryptoCatalog ( ) : System
리턴 System

Get() 공개 메소드

Get a cryptographic provider by algorithm identifier
public Get ( CryptoAlgorithmID ID ) : CryptoProvider
ID CryptoAlgorithmID Principal algorithm identifier.
리턴 CryptoProvider

Get() 공개 메소드

Get a cryptographic provider by algorithm identifier
public Get ( CryptoAlgorithmID ID, CryptoAlgorithmID Bulk ) : CryptoProvider
ID CryptoAlgorithmID Principal algorithm identifier.
Bulk CryptoAlgorithmID Bulk algorithm identifier.
리턴 CryptoProvider

GetAsymmetric() 공개 메소드

Get a cryptographic provider by algorithm identifier
public GetAsymmetric ( CryptoAlgorithmID ID ) : CryptoProviderAsymmetric
ID CryptoAlgorithmID Algorithm identifier
리턴 CryptoProviderAsymmetric

GetAuthentication() 공개 메소드

Get a cryptographic provider by algorithm identifier
public GetAuthentication ( CryptoAlgorithmID ID ) : CryptoProviderAuthentication
ID CryptoAlgorithmID Algorithm identifier
리턴 CryptoProviderAuthentication

GetBits() 공개 정적인 메소드

Returns a byte array with the specified number of random bits.
public static GetBits ( int Bits ) : byte[]
Bits int Number of bits
리턴 byte[]

GetBytes() 공개 정적인 메소드

Returns a byte array with the specified number of random bytes.
public static GetBytes ( int Bytes ) : byte[]
Bytes int Number of bytes
리턴 byte[]

GetDigest() 공개 메소드

Get a cryptographic provider by algorithm identifier
public GetDigest ( CryptoAlgorithmID ID ) : CryptoProviderDigest
ID CryptoAlgorithmID Algorithm identifier
리턴 CryptoProviderDigest

GetEncryption() 공개 메소드

Get a cryptographic provider by algorithm identifier
public GetEncryption ( CryptoAlgorithmID ID ) : CryptoProviderEncryption
ID CryptoAlgorithmID Algorithm identifier
리턴 CryptoProviderEncryption

GetExchange() 공개 메소드

Get a cryptographic provider by algorithm identifier
public GetExchange ( CryptoAlgorithmID ID ) : CryptoProviderExchange
ID CryptoAlgorithmID Algorithm identifier
리턴 CryptoProviderExchange

GetExchange() 공개 메소드

Get a signature provider by algorithm identifier
public GetExchange ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderExchange
Signature CryptoAlgorithmID Signature algorithm identifier.
Digest CryptoAlgorithmID Digest algorithm identifer.
리턴 CryptoProviderExchange

GetExchange() 공개 메소드

Get an exchange provider by key fingerprint.
public GetExchange ( string UDF ) : CryptoProviderExchange
UDF string Fingerprint of key
리턴 CryptoProviderExchange

GetSignature() 공개 메소드

Get a cryptographic provider by algorithm identifier
public GetSignature ( CryptoAlgorithmID ID ) : CryptoProviderSignature
ID CryptoAlgorithmID Algorithm identifier
리턴 CryptoProviderSignature

GetSignature() 공개 메소드

Get a signature provider by algorithm identifier
public GetSignature ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderSignature
Signature CryptoAlgorithmID Signature algorithm identifier.
Digest CryptoAlgorithmID Digest algorithm identifer.
리턴 CryptoProviderSignature

GetSignature() 공개 메소드

Get a signature provider by key fingerprint.
public GetSignature ( string UDF ) : CryptoProviderSignature
UDF string Fingerprint of key
리턴 CryptoProviderSignature

프로퍼티 상세

Algorithms 공개적으로 프로퍼티

Array containing the registered algorithms.
public CryptoAlgorithm[] Algorithms
리턴 CryptoAlgorithm[]