Class Verification
-
NSObject
-
Verification
-
Verification
A Verification
object contains result of a gateway’s attempt to verify one of the signatures on signed data. The gateway
verify methods return an array 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.
Constructors
The Verification
object should not be instantiated directly by the developer, as it is instantiated and returned by gateway
cryptographic verification methods.
Instance Methods
Return Type | Method and Description |
---|---|
|
Determines whether data’s signature was cryptographically verified with the public key specified in a signed data structure.. |
|
Determines whether data’s signature public key is contained in a locally stored keychain of either either an internal persona or a previously paired contact. |
Get the |
|
|
The time the signature was added to the signed data, expressed in milliseconds since Jan 1, 1970. |
|
` open func getSignature() throws → String` Gets the signature associated with the |
|
Gets the public key associated with the |
|
Gets the public key ID associated with the |
|
Determines if the |