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.
|
ValidityPeriod |
getValidityPeriod()
Get the validity period.
|
void |
setKeyLocator(KeyLocator keyLocator) |
void |
setSignature(Blob signature)
Set the signature bytes to the given value.
|
void |
setValidityPeriod(ValidityPeriod validityPeriod)
Set the validity period to a copy of the given ValidityPeriod.
|
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 ValidityPeriod getValidityPeriod()
public final void setSignature(Blob signature)
setSignature in class Signaturesignature - A Blob with the signature bytes.public final void setKeyLocator(KeyLocator keyLocator)
public final void setValidityPeriod(ValidityPeriod validityPeriod)
validityPeriod - The ValidityPeriod which is copied.public final long getChangeCount()
getChangeCount in interface ChangeCountablegetChangeCount in class SignatureCopyright © 2019. All rights reserved.