.Net SDK
Tokenio.Security.ISigner Interface Reference
Inheritance diagram for Tokenio.Security.ISigner:
Tokenio.Security.Ed25519Signer

Public Member Functions

string GetKeyId ()
 Returns the Key ID used for signing. More...
 
string Sign (IMessage message)
 Signs protobuf message. The message is converted to normalized json and the json gets signed. More...
 
string Sign (string payload)
 Signs the payload with the test key. More...
 

Member Function Documentation

◆ GetKeyId()

string Tokenio.Security.ISigner.GetKeyId ( )

Returns the Key ID used for signing.

Returns
The key id.

Implemented in Tokenio.Security.Ed25519Signer.

◆ Sign() [1/2]

string Tokenio.Security.ISigner.Sign ( IMessage  message)

Signs protobuf message. The message is converted to normalized json and the json gets signed.

Parameters
messagethe payload to sign
Returns
the signature as a hex encoded string

Implemented in Tokenio.Security.Ed25519Signer.

◆ Sign() [2/2]

string Tokenio.Security.ISigner.Sign ( string  payload)

Signs the payload with the test key.

Parameters
payloadthe payload to sign
Returns
the signature as hex encoded string

this method is for testing purpose

Implemented in Tokenio.Security.Ed25519Signer.


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