Structure for certificate security handler. More...
#include <fpdf_security_r.h>
Public Attributes | |
FS_LPVOID | clientData |
User-defined data. More... | |
FS_RESULT(* | GetDecryptionKey )(FS_LPVOID clientData, FS_LPCVOID envelopeBuf, FS_DWORD envelopeLen, FS_LPVOID keyBuf, FS_DWORD *keyLen) |
Get decryption key. More... | |
Structure for certificate security handler.
FS_LPVOID FSPDF_SECURITYHANDLER_CERT::clientData |
User-defined data.
FS_RESULT(* FSPDF_SECURITYHANDLER_CERT::GetDecryptionKey) (FS_LPVOID clientData, FS_LPCVOID envelopeBuf, FS_DWORD envelopeLen, FS_LPVOID keyBuf, FS_DWORD *keyLen) |
Get decryption key.
Foxit PDF SDK will call this function twice: first to get the length of the source seed buffer, and second to obtain the source seed buffer.
[in] | clientData | Pointer to user-defined data. |
[in] | envelopeBuf | Pointer to a buffer which is a certificate envelope. |
[in] | envelopeLen | Length of certificate envelope buffer, in bytes. |
[out] | keyBuf | Pointer to a buffer. If it is NULL, necessary size of seed buffer will be set to parameter keyLen as a result. If it is not NULL, it will receive the source seed buffer block. |
[in,out] | keyLen | Pointer to a FS_DWORD object. When this function is called, it means size of parameter keyBuf if keyBuf is not NULL. When this function returns, it receives size of source seed buffer in bytes. |