C# Класс Goedel.Cryptography.CryptoSuites

Catalog of CryptoSuite objects indexed by JSON algorithm identifier.
Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( CryptoSuite Suite ) : void

Add a suite with the specified parameters to the catalog.

CryptoSuites ( ) : System

Construct a catalog of suites

CryptoSuites ( CryptoCatalog CryptoCatalog, bool Defaults ) : System

Construct a catalog of suites using algorithms from the specified catalog and optionally registering algorithms specified in RFC 7518

Get ( string Name ) : CryptoSuite

Get Suite by JSON name.

Описание методов

Add() публичный Метод

Add a suite with the specified parameters to the catalog.
public Add ( CryptoSuite Suite ) : void
Suite CryptoSuite
Результат void

CryptoSuites() публичный Метод

Construct a catalog of suites
public CryptoSuites ( ) : System
Результат System

CryptoSuites() публичный Метод

Construct a catalog of suites using algorithms from the specified catalog and optionally registering algorithms specified in RFC 7518
public CryptoSuites ( CryptoCatalog CryptoCatalog, bool Defaults ) : System
CryptoCatalog CryptoCatalog Catalog of cryptographic algorithms to use.
Defaults bool If tru, prefills catalog with defined algorithms.
Результат System

Get() публичный Метод

Get Suite by JSON name.
public Get ( string Name ) : CryptoSuite
Name string JSON alg property.
Результат CryptoSuite