net.named_data.jndn
public class Sha256WithEcdsaSignature extends Signature
| Constructor and Description |
|---|
Sha256WithEcdsaSignature()
Create a new Sha256WithEcdsaSignature with default values.
|
Sha256WithEcdsaSignature(Sha256WithEcdsaSignature signature)
Create a new Sha256WithEcdsaSignature 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 Sha256WithEcdsaSignature()
public Sha256WithEcdsaSignature(Sha256WithEcdsaSignature 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 © 2016. All rights reserved.