.Net SDK
Tokenio.Security.ICryptoEngine Interface Reference
Inheritance diagram for Tokenio.Security.ICryptoEngine:
Tokenio.Security.TokenCryptoEngine

Public Member Functions

Key GenerateKey (Level level)
 Generates keys of the specified level. If the key with the specified level already exists, it is replaced. Old key is still kept around because it could be used for signature verification later. More...
 
ISigner CreateSigner (Level level)
 Create a signer that signs data with the latest generated key of the specified level. More...
 
IVerifier CreateVerifier (string keyId)
 Create a verifier that verifies signatures with a specific key. More...
 

Member Function Documentation

◆ CreateSigner()

ISigner Tokenio.Security.ICryptoEngine.CreateSigner ( Level  level)

Create a signer that signs data with the latest generated key of the specified level.

Parameters
levelthe key level
Returns
the signer

Implemented in Tokenio.Security.TokenCryptoEngine.

◆ CreateVerifier()

IVerifier Tokenio.Security.ICryptoEngine.CreateVerifier ( string  keyId)

Create a verifier that verifies signatures with a specific key.

Parameters
keyIdthe key id
Returns
the verifier

Implemented in Tokenio.Security.TokenCryptoEngine.

◆ GenerateKey()

Key Tokenio.Security.ICryptoEngine.GenerateKey ( Level  level)

Generates keys of the specified level. If the key with the specified level already exists, it is replaced. Old key is still kept around because it could be used for signature verification later.

Parameters
levelthe key level
Returns
the generated key

Implemented in Tokenio.Security.TokenCryptoEngine.


The documentation for this interface was generated from the following file: