SYNOPSIS |
#include <dk.h>
DK *dk_verify(
DK_LIB *libhandle,
const char *id,
void *memclosure,
DK_STAT *statp
);
Create a new handle for verifying a (possibly) signed message.
|
DESCRIPTION |
Called When |
dk_verify() is called when preparing to process a new message
that may be signed already in order to be able to verify its contents
against the signature. |
|
---|
ARGUMENTS |
Argument | Description |
libhandle |
DomainKeys library instance handle, returned by
an earlier call to dk_init().
|
id |
An opaque, printable string for identifying this message,
suitable for use in logging or debug output.
|
memclosure |
Opaque memory closure, passed directly to the caller-provided
malloc() and/or free() replacement functions.
|
statp |
Pointer to a DK_STAT
object which receives the completion status of this operation.
|
|
NOTES |
- The handle returned by this function may not be used in a later call
to dk_getsig().
|