Method | Description | |
---|---|---|
Dump ( |
||
FromReader ( |
||
Signature ( ReloadConfig config ) : System |
Use this contructor to obtain signature from bytes.
|
|
Signature ( |
Each StoredData element is individually signed. However, the signature also must be self-contained and cover the Kind-ID and Resource-ID even though they are not present in the StoredData structure. The input to the signature algorithm is: resource_id || kind || storage_time || StoredDataValue || SignerIdentity
|
|
Signature ( |
||
Signature ( |
For signatures over messages the input to the signature is computed over the overlay and transaction_id come from the forwarding header see RELOAD base -13 p.53
|
Method | Description | |
---|---|---|
GetKeyFile ( ) : byte[] |
Obtains the private key file.
|
|
Sign ( byte bSignInput ) : byte[] |
Creates the signature using RSA over a SHA256. Uses the private key from file.
|
|
Sign ( string signaturInput ) : byte[] |
Creates the signature using RSA over a SHA256. Uses the private key from file.
|
public Dump ( |
||
writer | ||
return |
public FromReader ( |
||
reader | ||
reload_msg_size | long | |
return | Signature |
public Signature ( ReloadConfig config ) : System | ||
config | ReloadConfig | The stack configuration |
return | System |
public Signature ( |
||
resId | ||
kind | ||
storageTime | System.UInt64 | |
value | ||
signerIdentity | ||
config | ReloadConfig | |
return | System |
public Signature ( |
||
overlay | ||
transactionId | string | |
messageContents | byte | |
signerIdentity | ||
config | ReloadConfig | |
return | System |
public Signature ( |
||
overlay | overlay | |
transactionId | string | |
messageContents | string | Message Contents |
signerIdentity | SignerIdentity | |
config | ReloadConfig | |
return | System |