# dkim_sigkey_t

[back to index]

DESCRIPTION

Purpose | A `dkim_sigkey_t` points to the private key to be used to sign messages. It should be a contiguous block of memory containing the private key either in PEM format, or in base64-encoded DER format, terminated by a NUL character. (For now, it is simply a pointer to a string of type `unsigned char`.)

NOTES

- The calling application should read the key into memory and pass it in as this data type. Carriage return and newline characters (ASCII 13 and 10, respectively) need not be stripped.

Copyright (c) 2005 Sendmail, Inc. and its suppliers. All rights reserved.
Copyright (c) 2009, 2010, The Trusted Domain Project. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the respective licenses.