Class Verification
Package: io.keychain.core
public class Verification extends java.lang.Object
Description
A Verification
object contains result of an attempt to verify one of the signatures on signed data. The Gateway
verify methods return a VerificationResult
object which has within it a list of Verification
objects, one for each signature in the data. The Verification
object provides information on whether the signature was cryptographically valid, whether the identity of the signature’s owner is known as a contact, and other attributes.
Applications should use the information provided to implement logic about whether to accept the data and how to handle errors.
Since: v2.0
Public Member Functions
Return type | Method and Description |
---|---|
|
Whether the associated signature was cryptographically verified |
|
Whether the associated signature is for approval or rejection |
|
Whether the signer is a known contact of the active |
Gets signer’s facade |
|
|
Gets public key |
|
Gets public key id |
|
Gets signature |
|
Gets the signature timestamp as milliseconds since Unix epoch started |
Public Member Functions Detail
isVerified
|
|
Returns |
|
Returns: |
|
|
isApproval
|
|
Returns |
|
Returns: |
|
|
signerIsKnown
|
|
Returns |
|
Returns: |
|
|
getFacade
|
|
Gets the |
|
Returns: |
|
Returns the contact/persona associated with the signer, or a null-pattern |
|
Raises: |
|
|
|
|
getPublicKey
|
|
Gets the public key used to sign the message |
|
Returns: |
|
The public key used to sign the message |
getPublicKeyId
|
|
Gets the ID of the public key used to sign the message |
|
Returns: |
|
The ID of the public key used to sign the message |