| SYNOPSIS |
#include <dk.h>
DK_STAT dk_getsig(
DK *dk,
unsigned char *buf,
size_t len
);
Compute and retrieve the signature for a message.
|
| DESCRIPTION |
| Called When |
dk_getsig() is called after
dk_eom() when dk is a
signing handle, i.e. one returned by an earlier call to
dk_sign(). |
|
|---|
| ARGUMENTS |
| Argument | Description |
| dk |
Message-specific handle, returned by
dk_sign().
|
| buf |
A buffer into which the base64-encoded signature should be stored.
|
| len |
Number of bytes available at buf.
|
|
| NOTES |
- It is an error to call this function with a handle that was created
using dk_verify().
|