📄 ccrsnetscapeserver.h
字号:
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
$Id: CCRSNetscapeServer.h,v 1.3 2002/08/06 20:11:11 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_CCRSNetscapeServer_h
#define Included_CCRSNetscapeServer_h
#include "CCRSServer.h"
class CCRSNetscapeServer : public CCRSServer {
public:
CCRSNetscapeServer(PGPContextRef inContext,
const char * inHostName, PGPUInt32 inHostAddress,
PGPUInt16 inHostPort, const char * inPath,
PGPKeyServerProtocol inProtocol,
PGPKeyServerClass inClass);
virtual ~CCRSNetscapeServer();
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 PostCRSMessage(PGPKeyServerState inOperation, const char * inPath,
PGPByte** outResult, PGPUInt32 inContentLength,
const PGPByte * inData);
void PackageAndSendCRSMessage(PGPExportFormat inExportFormat,
PGPOutputFormat inOutputFormat, PGPKeyDBObjRef inKey,
PGPKeyDBObjRef inCAKey, PGPKeyDBObjRef inSigningKey,
PGPByte * inPassphrase, PGPSize inPassphraseLength,
PGPBoolean inIsPassphrase, void ** outBuffer, PGPSize * outBufferSize);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -