HiRPC.Post

Undocumented in source.
struct HiRPC
struct Post (
Direction DIRECTION
) {
@Label("$sign", true)
immutable(ubyte)[] signature;
@Label("$pkey", true)
immutable(ubyte)[] pubkey;
@Label("$msg")
Document message;
immutable
@Label("")
Type type;
protected
static if(DIRECTION is Direction.RECEIVE)
@Label("")
Message _message;
immutable
static if(DIRECTION is Direction.RECEIVE)
@Label("")
SignedState signed;
static if(DIRECTION is Direction.RECEIVE)
enum signName;
static if(DIRECTION is Direction.RECEIVE)
enum pubkeyName;
static if(DIRECTION is Direction.RECEIVE)
enum messageName;
}

Members

Functions

isSigned
bool isSigned()

Checks if the message has been signed NOTE!! This does not mean that the signature is correct