📄 ccrsentrustserver.h
字号:
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
$Id: CCRSEntrustServer.h,v 1.5 2002/08/06 20:11:11 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_CCRSEntrustServer_h
#define Included_CCRSEntrustServer_h
#include "CCRSServer.h"
class CCRSEntrustServer : public CCRSServer {
public:
CCRSEntrustServer(PGPContextRef inContext,
const char * inHostName, PGPUInt32 inHostAddress,
PGPUInt16 inHostPort, const char * inPath,
PGPKeyServerProtocol inProtocol,
PGPKeyServerClass inClass);
virtual ~CCRSEntrustServer();
virtual void SendCertificateRequest(PGPKeyDBObjRef inCAKey, PGPKeyDBObjRef inRequestKey,
const void * inBuffer, PGPSize inBufferSize, void ** outBuffer,
PGPSize * outBufferSize);
virtual void RetrieveCertificate(PGPFilterRef inSearchFilter, PGPKeyDBObjRef inSearchKey,
PGPKeyDBObjRef inCAKey,
PGPKeyDBObjRef inSigningKey, PGPByte * inPassphrase,
PGPSize inPassphraseLength, PGPBoolean inIsPassphrase,
void ** outBuffer, PGPSize * outBufferSize);
virtual void RetrieveCRL(PGPKeyDBObjRef inCAKey, PGPKeyDBObjRef inSigningKey,
PGPByte * inPassphrase, PGPSize inPassphraseLength,
PGPBoolean inIsPassphrase, void ** outBuffer, PGPSize * outBufferSize);
protected:
PGPUInt32 PostMessage(PGPKeyServerState inOperation, const PGPByte * inMessage,
PGPSize inMessageLength, PGPByte ** outResult);
void PackageAndSendMessage(PGPExportFormat inExportFormat,
PGPOutputFormat inOutputFormat, PGPKeyDBObjRef inKey, PGPKeyDBObjRef inSigningKey,
PGPByte * inPassphrase, PGPSize inPassphraseLength,
PGPBoolean inIsPassphrase, PGPByte * inDistributionPoint,
PGPSize inDistributionPointSize, void ** outBuffer,
PGPSize * outBufferSize);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -