pgprsakey.h

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

H
41
字号
/*
 * $Id: pgpRSAKey.h,v 1.5 2001/01/25 22:11:34 jeffc Exp $
 */

#ifndef Included_pgpRSAKey_h
#define Included_pgpRSAKey_h


#include "pgpSDKBuildFlags.h"

#ifndef PGP_RSA
#error "PGP_RSA requires a value"
#endif

#if PGP_RSA

#include "pgpPubTypes.h"	/* For PGPBoolean and PGPByte */
#include "pgpOpaqueStructs.h"

PGP_BEGIN_C_DECLARATIONS

PGPPubKey *rsaPubFromBuf(PGPContextRef	context,
				PGPByte const *buf, PGPSize len, PGPError *error);
				
PGPSecKey *rsaSecFromBuf( PGPContextRef	context,
				PGPByte const *buf, PGPSize len, PGPBoolean v3,
				PGPError *error);
				
int rsaPubKeyPrefixSize(PGPByte const *buf, PGPSize size);

PGPSecKey *rsaSecGenerate( PGPContextRef context, unsigned bits,
				PGPBoolean fastgen, PGPBoolean v3,
				PGPRandomContext const *rc,
				int progress(void *arg, int c), void *arg, PGPError *error);

PGP_END_C_DECLARATIONS

#endif /* PGP_RSA */

#endif /* Included_pgpRSAKey_h */

⌨️ 快捷键说明

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