java.lang.Object |
↳ |
com.ning.http.client.oauth.ThreadSafeHMAC |
Class Overview
Since cloning (of MAC instances) is not necessarily supported on all platforms
(and specifically seems to fail on MacOS), let's wrap synchronization/reuse details here.
Assumption is that this is bit more efficient (even considering synchronization)
than locating and reconstructing instance each time.
In future we may want to use soft references and thread local instance.
Summary
Public Methods |
synchronized
byte[]
|
digest(byte[] message)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Public Constructors
Public Methods
public
synchronized
byte[]
digest
(byte[] message)