|
Sun Adapter for SAG API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface RemoteApis.RaSAG.SAGLMAC
It is for SAG Local Message Authentication Code (LMAC) APIs.
Method Summary | |
---|---|
void |
compute(SAGMessage msg)
Computes local authentication code on the specified SAGMessage. |
java.lang.String |
compute(java.lang.String address)
Computes local authentication code by use of the specified address. |
java.lang.String |
getAlgorithm()
Gets the authentication algorithm. |
java.lang.String |
getKey()
Gets the authentication key. |
void |
setAlgorithm(java.lang.String algorithm)
Sets the authentication algorithm. |
void |
setKey(java.lang.String key)
Sets the authentication key. |
void |
verify(SAGMessage msg)
Verifies local authentication code on the specified SAGMessage. |
Method Detail |
---|
void compute(SAGMessage msg) throws SAGApplicationException
msg
- SAGMessage to be computed.
SAGApplicationException
- upon error.java.lang.String compute(java.lang.String address) throws SAGApplicationException
address
- The endpoint address.
SAGApplicationException
- upon error.void verify(SAGMessage msg) throws SAGApplicationException
msg
- SAGMessage to be verified.
SAGApplicationException
- upon error.java.lang.String getKey()
java.lang.String getAlgorithm()
void setKey(java.lang.String key)
key
- Key to be set.void setAlgorithm(java.lang.String algorithm)
algorithm
- Algorithm to be set.
|
Sun Adapter for SAG API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |