pgpmakepke.h

来自「可以实现对邮件的加密解密以及签名」· C头文件 代码 · 共 32 行

H
32
字号
/*
 * pgpMakePKE.h -- Make a Public Key Encrypted packet from a pubkey and a
 * session key.
 *
 * This is a PRIVATE header file, for use only within the PGP Library.
 * You should not be using these functions in an application.
 *
 * $Id: pgpMakePKE.h,v 1.5 2001/01/25 22:11:16 jeffc Exp $
 */

#ifndef Included_pgpMakePKE_h
#define Included_pgpMakePKE_h

#include <stddef.h>	/* For size_t */

#include "pgpUsuals.h"	/* For PGPByte and PgpVersion */
#include "pgpContext.h"

PGP_BEGIN_C_DECLARATIONS

/*
 * Allocate and return a buffer to hold the ESK packet in *buf, *len.
 */
PGPError
makePke (PGPContextRef context, PGPKeyDBObj const *key,
	PGPByte const *symkey, unsigned symkeylen,
	PgpVersion version, PGPByte **buf, PGPSize *len );

PGP_END_C_DECLARATIONS

#endif /* Included_pgpMakePKE_h */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?