.Net SDK
Tokenio.Security.InMemoryKeyStore Class Reference
Inheritance diagram for Tokenio.Security.InMemoryKeyStore:
Tokenio.Security.IKeyStore

Public Member Functions

void Put (string memberId, KeyPair keyPair)
 Puts a specified key pair into the storage. More...
 
KeyPair GetByLevel (string memberId, Level level)
 Gets a key pair of a specific level. More...
 
KeyPair GetById (string memberId, string keyId)
 Gets a key pair of by its ID. More...
 
IList< KeyPairKeyList (string memberId)
 Get all of a member's keys. More...
 

Member Function Documentation

◆ GetById()

KeyPair Tokenio.Security.InMemoryKeyStore.GetById ( string  memberId,
string  keyId 
)
inline

Gets a key pair of by its ID.

Parameters
memberIdthe member id
keyIdthe key id
Returns
the key pair
Exceptions
KeyNotFoundException

>

Implements Tokenio.Security.IKeyStore.

◆ GetByLevel()

KeyPair Tokenio.Security.InMemoryKeyStore.GetByLevel ( string  memberId,
Level  level 
)
inline

Gets a key pair of a specific level.

Parameters
memberIdthe member id
levelthe level of the key pair
Returns
the key pair
Exceptions
KeyNotFoundException

>

Implements Tokenio.Security.IKeyStore.

◆ KeyList()

IList<KeyPair> Tokenio.Security.InMemoryKeyStore.KeyList ( string  memberId)
inline

Get all of a member's keys.

Parameters
memberIdthe member id
Returns
a list of key pairs

Implements Tokenio.Security.IKeyStore.

◆ Put()

void Tokenio.Security.InMemoryKeyStore.Put ( string  memberId,
KeyPair  keyPair 
)
inline

Puts a specified key pair into the storage.

Parameters
memberIdthe member id
keyPairthe key paid

Implements Tokenio.Security.IKeyStore.


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