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

📄 pgpsigpipe.c

📁 vc环境下的pgp源码
💻 C
字号:
/*
 * pgpSigPipe.c -- Create a Signature Verification Pipeline
 *
 * Written by:	Derek Atkins <warlord@MIT.EDU>
 *
 * $Id: pgpSigPipe.c,v 1.6 1997/06/25 19:42:04 lloyd Exp $
 */

#include "pgpConfig.h"

#include <stdio.h>

#include "pgpSigPipe.h"
#include "pgpFIFO.h"
#include "pgpPrsAsc.h"
#include "pgpVerifyRa.h"

PGPPipeline *
pgpSignatureVerifyCreate (
	PGPContextRef	cdkContext,
	PGPPipeline **	texthead,
	PGPPipeline **	sighead,
	PGPEnv const *	env,
	PGPFifoDesc const *fd,
	PGPByte const *hashlist, unsigned hashlen,
	int textmode,
	PGPUICb const *ui, void *ui_arg)
{
	if (!texthead || !sighead)
		return NULL;

	if (!fd)
		fd = &pgpByteFifoDesc;

	sighead = pgpParseAscCreate ( cdkContext, sighead, env, fd, ui, ui_arg);
	if (!sighead)
		return NULL;

	return pgpVerifyReaderCreate ( cdkContext, texthead, sighead, env, fd,
				      hashlist, hashlen, textmode, ui, ui_arg);
}

⌨️ 快捷键说明

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