C# Class Goedel.Cryptography.CryptoSuites

Catalog of CryptoSuite objects indexed by JSON algorithm identifier.
Show file Open project: hallambaker/Mathematical-Mesh

Public Methods

Method Description
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.

Method Details

Add() public method

Add a suite with the specified parameters to the catalog.
public Add ( CryptoSuite Suite ) : void
Suite CryptoSuite
return void

CryptoSuites() public method

Construct a catalog of suites
public CryptoSuites ( ) : System
return System

CryptoSuites() public method

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.
return System

Get() public method

Get Suite by JSON name.
public Get ( string Name ) : CryptoSuite
Name string JSON alg property.
return CryptoSuite