public interface SignableMessage
Modifier and Type | Interface and Description |
---|---|
static class |
SignableMessage.SignatureState
Current state of signature validation of a
SignableMessage . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKeyAlias()
Get the alias for the key that should be used to sign this message at transmission time.
|
java.lang.String |
getOriginatingCallsign()
Get the callsign of the station that originated this message (not of any Tx-Igate relay).
|
SignableMessage.SignatureState |
getSignatureState()
Report the status of the signature of this message.
|
long |
getTimestamp()
Get the timestamp associated with this Message in milliseconds since
1 Jan 1970 UTC.
|
void |
setKeyAlias(java.lang.String alias)
Set the alias for the key that should be used to sign this message at transmission time.
|
void |
writeToSigningBuf(java.io.DataOutput dos,
java.io.PrintWriter pw)
Write the appropriate part of the body of this message to the signing buffer.
|
SignableMessage.SignatureState getSignatureState()
void setKeyAlias(java.lang.String alias)
alias
- String name that should match a secret key in the key managerjava.lang.String getKeyAlias()
long getTimestamp()
java.lang.String getOriginatingCallsign()
void writeToSigningBuf(java.io.DataOutput dos, java.io.PrintWriter pw)
dos
- DataOutput that will accept binary writes of the message datapw
- PrintWriter that will accept character writes of the message data