⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pgprsakey.h

📁 vc环境下的pgp源码
💻 H
字号:
/*
 * $Id: pgpRSAKey.h,v 1.14 1998/06/11 18:28:23 hal 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, size_t len, PGPError *error);
				
PGPSecKey *rsaSecFromBuf( PGPContextRef	context,
				PGPByte const *buf, size_t len, PGPBoolean v3,
				PGPError *error);
				
int rsaPubKeyPrefixSize(PGPByte const *buf, size_t size);

PGPSecKey *rsaSecGenerate( PGPContextRef	context,
				unsigned bits, PGPBoolean fastgen,
				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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -