|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SignableMessage
This interface tags messages that can be cryptographically signed (HMAC) to provide authentication and data integrity checking of those messages.
Nested Class Summary | |
---|---|
static class |
SignableMessage.SignatureState
State of signature validation. |
Method Summary | |
---|---|
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.PrintStream ps)
Write the appropriate part of the body of this message to the signing buffer. |
Method Detail |
---|
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.PrintStream ps)
dos
- DataOutput that will accept binary writes of the message dataps
- PrintStream that will accept character writes of the message data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |