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

Public Member Functions

 Ed25519Signer (string keyId, byte[] privateKey)
 
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.Ed25519Signer.GetKeyId ( )
inline

Returns the Key ID used for signing.

Returns
The key id.

Implements Tokenio.Security.ISigner.

◆ Sign() [1/2]

string Tokenio.Security.Ed25519Signer.Sign ( IMessage  message)
inline

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

Implements Tokenio.Security.ISigner.

◆ Sign() [2/2]

string Tokenio.Security.Ed25519Signer.Sign ( string  payload)
inline

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

Implements Tokenio.Security.ISigner.


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