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

Public Member Functions

 TokenCryptoEngine (string memberId, IKeyStore keys)
 
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.TokenCryptoEngine.CreateSigner ( Level  level)
inline

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

Parameters
levelthe key level
Returns
the signer

Implements Tokenio.Security.ICryptoEngine.

◆ CreateVerifier()

IVerifier Tokenio.Security.TokenCryptoEngine.CreateVerifier ( string  keyId)
inline

Create a verifier that verifies signatures with a specific key.

Parameters
keyIdthe key id
Returns
the verifier

Implements Tokenio.Security.ICryptoEngine.

◆ GenerateKey()

Key Tokenio.Security.TokenCryptoEngine.GenerateKey ( Level  level)
inline

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

Implements Tokenio.Security.ICryptoEngine.


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