dk_getsig()

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
ArgumentDescription
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().

Copyright (c) 2004 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.