|
| 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...
|
|
◆ GetKeyId()
string Tokenio.Security.Ed25519Signer.GetKeyId |
( |
| ) |
|
|
inline |
◆ 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
-
message | the 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
-
payload | the 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: