public class HmacWithSha256Signature extends Signature
| Constructor and Description |
|---|
HmacWithSha256Signature()
Create a new HmacWithSha256Signature with default values.
|
HmacWithSha256Signature(HmacWithSha256Signature signature)
Create a new HmacWithSha256Signature with a copy of the fields in the given
signature object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Return a new Signature which is a deep copy of this signature.
|
long |
getChangeCount()
Get the change count, which is incremented each time this object
(or a child object) is changed.
|
KeyLocator |
getKeyLocator() |
Blob |
getSignature()
Get the signature bytes.
|
void |
setKeyLocator(KeyLocator keyLocator) |
void |
setSignature(Blob signature)
Set the signature bytes to the given value.
|
public HmacWithSha256Signature()
public HmacWithSha256Signature(HmacWithSha256Signature signature)
signature - The signature object to copy.public Object clone() throws CloneNotSupportedException
clone in class SignatureCloneNotSupportedExceptionpublic final Blob getSignature()
getSignature in class Signaturepublic final KeyLocator getKeyLocator()
public final void setSignature(Blob signature)
setSignature in class Signaturesignature - A Blob with the signature bytes.public final void setKeyLocator(KeyLocator keyLocator)
public final long getChangeCount()
getChangeCount in interface ChangeCountablegetChangeCount in class SignatureCopyright © 2019. All rights reserved.