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

📄 pgpreconstructpriv.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.

	$Id: pgpReconstructPriv.h,v 1.7 2002/08/06 20:10:16 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_pgpReconstructPriv_h	/* [ */
#define Included_pgpReconstructPriv_h

#include "pgpReconstruct.h"

#define kReconstructWrapKeySize		16
#define kReconCipherBlockSize		8
#define kPGPShareHeaderSize			4
#define kReconNaturalShareSize		( kReconstructWrapKeySize + kPGPShareHeaderSize )
#define kReconShareSize				( kReconNaturalShareSize + 4 )
#define kReconMaxHashReps			16384
#define kReconInnerMagic			0x750A0F2E
#define kReconOuterMagic			0x21B8E41F
#define kPGPShare_Version1			0x21
#define kReconMinBlobSize			(	sizeof(PGPKeyID) * 2 + sizeof(PGPReconPrompts) +	\
										sizeof(PGPUInt16) * 2 + sizeof(PGPUInt32) * 2 +		\
										kReconShareSize * kPGPRecon_NumShares * 2 )

#define kPGPReconCertIDAttr			"pgpReconCertID"
#define kPGPReconDataAttr			"pgpReconData"
#define kPGPReconPromptsAttr		"pgpReconPrompts"
#define kPGPReconHashRepsAttr		"pgpReconHashRepetitions"
#define kPGPCertIDAttr				"pgpCertID"
#define kPGPKeyAttr					"pgpKeyV2"
#define kPGPOwnerAttr				"owner"
#define kPGPObjectclassAttr			"objectclass"
#define kPGPObjectclassAny			"(objectclass=*)"
#define kPGPCertIDVirtual			"virtual"
#define kPGPReconElementObjectclass	"pgpReconElement"
#define kPGPCertserverVersion		"version"
#define kPGPServerInfoCN			"cn=PGPServerInfo"
#define kPGPBaseKeyspaceDN			"baseKeyspaceDN"
#define kPGPBaseReconDN				"baseReconDN"
#define kPGPUserIDVariables			{ "$USERID", "%USERID%" }


typedef struct PGPReconContextPriv
{
	PGPContextRef				context;
	PGPMemoryMgrRef				memMgr;
	PGPPrefRef					clientPrefs;
	PGPKeyDBObjRef				targetKey;
	PGPReconstructEventHandler	handler;
	PGPUserValue				userValue;
	char						authUser[kPGPRecon_MaxUserNameLen + 1];
	char						authPass[kPGPRecon_MaxPasswordLen + 1];
	PGPByte						*blobData;
	PGPSize						blobDataSize;
	PGPUInt16					hashReps;
#ifdef PGP_CMDLINE
	PGPUInt32					serverType;
	char						szServerURL[kPGPRecon_MaxPassLen + 1];
#endif /* PGP_CMDLINE */
} PGPReconContextPriv;



#endif /* ] Included_pgpReconstructPriv_h */


/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

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