public class UPnPHMAC
extends java.lang.Object
This class is used to digitally sign messages using HMAC in conjunction with SHA-1 or SHA-2
Modifier and Type | Field and Description |
---|---|
byte[] |
key
The key to be used for signatures
|
Constructor and Description |
---|
UPnPHMAC()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
refresh() |
byte[] |
sign(byte[] msg)
Signs the given message using HMAC
|