class

Tinrelay::SignedRelayEnvelope

Inherits JSON::Serializable < Reference < Object

SignedRelayEnvelope authenticates the sealed radio emission. The repeater and recipient can reject changed visible routing facts or ciphertext without opening it.

Constructors

new(transmission_id : String, sender_ship : String, sender_signing_generation : Int32, recipient_ship : String, recipient_encryption_generation : Int32, created_at : Int64, expires_at : Int64, ciphertext : String, signature : String = "", protocol : Int32 = PROTOCOL, object_version : Int32 = 1)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

ciphertext
Source
ciphertext=(ciphertext : String)
Source
created_at
Source
created_at=(created_at : Int64)
Source
expires_at
Source
expires_at=(expires_at : Int64)
Source
object_version
Source
object_version=(object_version : Int32)
Source
protocol
Source
protocol=(protocol : Int32)
Source
recipient_encryption_generation
Source
recipient_encryption_generation=(recipient_encryption_generation : Int32)
Source
recipient_ship
Source
recipient_ship=(recipient_ship : String)
Source
sender_ship
Source
sender_ship=(sender_ship : String)
Source
sender_signing_generation
Source
sender_signing_generation=(sender_signing_generation : Int32)
Source
signature
Source
signature=(signature : String)
Source
signing_bytes
Source
submission_evidence
Source
transmission_id
Source
transmission_id=(transmission_id : String)
Source