new Sha256WithEcdsaSignature(value)
Create a new Sha256WithEcdsaSignature object, possibly copying values from
another object.
Parameters:
Name | Type | Description |
---|---|---|
value |
Sha256WithEcdsaSignature | (optional) If value is a Sha256WithEcdsaSignature, copy its values. If value is omitted, the keyLocator is the default with unspecified values and the signature is unspecified. |
- Source:
Methods
clone() → {Sha256WithEcdsaSignature}
Create a new Sha256WithEcdsaSignature which is a copy of this object.
- Source:
Returns:
A new object which is a copy of this
object.
getChangeCount() → {number}
Get the change count, which is incremented each time this object (or a child
object) is changed.
- Source:
Returns:
The change count.
- Type
- number
getKeyLocator() → {KeyLocator}
Get the key locator.
- Source:
Returns:
The key locator.
- Type
- KeyLocator
getSignature() → {Blob}
Get the data packet's signature bytes.
- Source:
Returns:
The signature bytes. If not specified, the value isNull().
- Type
- Blob
getValidityPeriod() → {ValidityPeriod}
Get the validity period.
- Source:
Returns:
The validity period.
- Type
- ValidityPeriod
setKeyLocator(keyLocator)
Set the key locator to a copy of the given keyLocator.
Parameters:
Name | Type | Description |
---|---|---|
keyLocator |
KeyLocator | The KeyLocator to copy. |
- Source:
setSignature(signature)
Set the data packet's signature bytes.
Parameters:
Name | Type | Description |
---|---|---|
signature |
Blob |
- Source:
setValidityPeriod(validityPeriod)
Set the validity period to a copy of the given ValidityPeriod.
Parameters:
Name | Type | Description |
---|---|---|
validityPeriod |
ValidityPeriod | The ValidityPeriod which is copied. |
- Source: