AGVerifyKey Class Reference
Inherits from | NSObject |
Declared in | AGVerifyKey.h AGVerifyKey.m |
Instance Methods
initWithKey:
- Initialize with the public key provided. *
- @param key The Public key.
- (id)initWithKey:(NSData *)key
Discussion
- Initialize with the public key provided. *
@param key The Public key.
@return the AGVerifyKey object.
Declared In
AGVerifyKey.h
verify:signature:
Verify the integrity of the message with the signature provided.
- (BOOL)verify:(NSData *)message signature:(NSData *)signature
Parameters
- message
The message to be verified.
- signature
The provided signature.
Return Value
the result of the verification process.
Discussion
Verify the integrity of the message with the signature provided.
Declared In
AGVerifyKey.h