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

📄 pgppasscach.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*
 * pgpPassCach.h -- A Passphrase Cache
 *
 * Written by:	Derek Atkins <warlord@MIT.EDU>
 *
 * $Id: pgpPassCach.h,v 1.10 2001/11/30 18:50:10 hal Exp $
 */

#ifndef Included_pgpPassCach_h
#define Included_pgpPassCach_h

#include "pgpUsuals.h"

PGP_BEGIN_C_DECLARATIONS

#include "pgpOpaqueStructs.h"
#include "pgpPubTypes.h"
#include "pgpContext.h"


	PGPError
pgpSecKeyUnlockWithCache( PGPSecKey *sec, PGPByte const *passphrase,
	PGPSize passphraseLength, PGPBoolean hashedPhrase, PGPUInt32 cacheTimeOut,
	PGPBoolean cacheGlobal );


	PGPError
pgpSecKeyCachePassphrase( PGPSecKey *sec, PGPByte const *passphrase,
	PGPSize passphraseLength, PGPBoolean hashedPhrase, PGPUInt32 cacheTimeOut,
	PGPBoolean cacheGlobal );

	void
pgpExpirePassphraseCache( PGPContextRef context );

	PGPBoolean
pgpIsPassphraseCached( PGPContextRef context );

	void
pgpPassphraseCacheAddClient( PGPContextRef context, PGPConnectRef id );
	void
pgpPassphraseCacheRemoveClient( PGPConnectRef id );

	PGPError
pgpPurgePassphraseCache_internal( PGPContextRef context );

	PGPError
pgpCountCachedPassphrases_internal( PGPContextRef context,
	PGPUInt32 *pnLocal, PGPUInt32 *pnGlobal, PGPUInt32 *pnOtherLocal );


PGP_END_C_DECLARATIONS

#endif /* Included_pgpPassCach_h */

⌨️ 快捷键说明

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