|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclient.MacGenerator
final class MacGenerator
Provides methods for generating message authentication codes (MACs) and MAC keys.
Method Summary | |
---|---|
protected static byte[] |
generateMAC(java.security.Key key,
byte[] message)
Generates and returns a message authentication code for the bypassed message. |
protected static javax.crypto.SecretKey |
generateMacKey()
Generates and returns a MAC key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static javax.crypto.SecretKey generateMacKey()
protected static byte[] generateMAC(java.security.Key key, byte[] message)
key
- Key to generate message authentication code with.message
- Message to be authenticated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |