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

📄 pgpsigpipe.c

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

	$Id: pgpSigPipe.c,v 1.3 2002/08/06 20:11:15 dallen Exp $
____________________________________________________________________________*/
/*
 * pgpSigPipe.c -- Create a Signature Verification Pipeline
 *
 * Written by:	Derek Atkins <warlord@MIT.EDU>
 */
#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 + -