📄 pgpoptionlist.h
字号:
/* Data input (required): */
PGPOptionListRef PGPOInputFile( PGPContextRef context,
PGPFileSpecRef fileRef );
PGPOptionListRef PGPOInputBuffer( PGPContextRef context,
void const *buffer, PGPSize bufferSize );
#if PGP_MACINTOSH || PGP_OSX
PGPOptionListRef PGPOInputFileFSSpec( PGPContextRef context,
const struct FSSpec *fileSpec );
#endif
/* Data output (optional, generates event if missing): */
PGPOptionListRef PGPOOutputFile( PGPContextRef context,
PGPFileSpecRef fileRef );
PGPOptionListRef PGPOOutputBuffer( PGPContextRef context,
void *buffer, PGPSize bufferSize,
PGPSize *outputDataLength );
#if PGP_MACINTOSH || PGP_OSX
PGPOptionListRef PGPOOutputFileFSSpec( PGPContextRef context,
const struct FSSpec *fileSpec );
#endif
/* '*buffer' must be disposed of via PGPFreeData() */
/* maximum memory usage will be no more than maximumBufferSize */
PGPOptionListRef PGPOAllocatedOutputBuffer(PGPContextRef context,
void **buffer, PGPSize maximumBufferSize,
PGPSize *actualBufferSize);
PGPOptionListRef PGPOAppendOutput( PGPContextRef context,
PGPBoolean appendOutput );
PGPOptionListRef PGPODiscardOutput( PGPContextRef context,
PGPBoolean discardOutput );
PGPOptionListRef PGPOAllocatedOutputKeyContainer(PGPContextRef context,
void **keyContName, PGPSize maximumKeyContNameSize,
PGPSize *actualKeyContNameSize );
/* Encrypting and signing */
PGPOptionListRef PGPOEncryptToKeyDBObj( PGPContextRef context,
PGPKeyDBObjRef keyDBObjRef);
PGPOptionListRef PGPOEncryptToKeySet( PGPContextRef context,
PGPKeySetRef keySetRef);
PGPOptionListRef PGPOSignWithKey( PGPContextRef context,
PGPKeyDBObjRef keyDBObjRef,
PGPOptionListRef firstOption, ...);
PGPOptionListRef PGPOConventionalEncrypt( PGPContextRef context,
PGPOptionListRef firstOption,
...);
PGPOptionListRef PGPOPassphraseBuffer( PGPContextRef context,
const void *passphrase, PGPSize passphraseLength);
PGPOptionListRef PGPOPassphrase( PGPContextRef context,
const char *passphrase);
PGPOptionListRef PGPOPasskeyBuffer( PGPContextRef context,
const void *passkey, PGPSize passkeyLength);
#define kPGPMaxTimeInterval (~(PGPTime)0)
PGPOptionListRef PGPOCachePassphrase( PGPContextRef context,
PGPUInt32 timeOutSeconds, PGPBoolean globalCache);
PGPOptionListRef PGPOSessionKey( PGPContextRef context,
const void *sessionKey, PGPSize sessionKeyLength);
PGPOptionListRef PGPOAskUserForEntropy( PGPContextRef context,
PGPBoolean askUserForEntropy );
PGPOptionListRef PGPORawPGPInput( PGPContextRef context,
PGPBoolean rawPGPInput );
PGPOptionListRef PGPOCompression( PGPContextRef context,
PGPBoolean compression );
PGPOptionListRef PGPOLocalEncoding( PGPContextRef context,
PGPLocalEncodingFlags localEncode);
PGPOptionListRef PGPOOutputLineEndType(PGPContextRef context,
PGPLineEndType lineEnd);
PGPOptionListRef PGPOPGPMIMEEncoding(PGPContextRef context,
PGPBoolean mimeEncoding, PGPSize *mimeBodyOffset,
char mimeSeparator[ kPGPMimeSeparatorSize ]);
PGPOptionListRef PGPOOmitMIMEVersion( PGPContextRef context,
PGPBoolean omitVersion);
PGPOptionListRef PGPOX509Encoding( PGPContextRef context,
PGPBoolean x509Encoding);
PGPOptionListRef PGPODetachedSig( PGPContextRef context,
PGPOptionListRef firstOption,
...);
PGPOptionListRef PGPOCipherAlgorithm( PGPContextRef context,
PGPCipherAlgorithm algorithm);
PGPOptionListRef PGPOHashAlgorithm( PGPContextRef context,
PGPHashAlgorithm algorithm);
PGPOptionListRef PGPOFailBelowValidity( PGPContextRef context,
PGPValidity minValidity);
PGPOptionListRef PGPOWarnBelowValidity( PGPContextRef context,
PGPValidity minValidity);
PGPOptionListRef PGPOEventHandler( PGPContextRef context,
PGPEventHandlerProcPtr eventHandler,
PGPUserValue eventHandlerData);
PGPOptionListRef PGPOSendNullEvents( PGPContextRef context,
PGPTimeInterval approxInterval);
PGPOptionListRef PGPOArmorOutput( PGPContextRef context,
PGPBoolean armorOutput );
PGPOptionListRef PGPODataIsASCII( PGPContextRef context,
PGPBoolean dataIsASCII );
PGPOptionListRef PGPOClearSign( PGPContextRef context,
PGPBoolean clearSign );
PGPOptionListRef PGPOForYourEyesOnly( PGPContextRef context,
PGPBoolean forYourEyesOnly );
PGPOptionListRef PGPOKeyDBRef( PGPContextRef context,
PGPKeyDBRef keydbRef);
PGPOptionListRef PGPOExportKeySet( PGPContextRef context,
PGPKeySetRef keysetRef);
PGPOptionListRef PGPOExportKeyDBObj( PGPContextRef context,
PGPKeyDBObjRef keyDBObjRef);
PGPOptionListRef PGPOImportKeysTo( PGPContextRef context,
PGPKeyDBRef keydbRef);
PGPOptionListRef PGPOSendEventIfKeyFound( PGPContextRef context,
PGPBoolean sendEventIfKeyFound );
PGPOptionListRef PGPOPassThroughIfUnrecognized( PGPContextRef context,
PGPBoolean passThroughIfUnrecognized );
PGPOptionListRef PGPOPassThroughClearSigned( PGPContextRef context,
PGPBoolean passThroughClearSigned );
PGPOptionListRef PGPOPassThroughKeys( PGPContextRef context,
PGPBoolean passThroughKeys );
PGPOptionListRef PGPORecursivelyDecode( PGPContextRef context,
PGPBoolean recurse );
PGPOptionListRef PGPOKeyGenParams( PGPContextRef context,
PGPPublicKeyAlgorithm pubKeyAlg,
PGPUInt32 bits);
PGPOptionListRef PGPOKeyGenName( PGPContextRef context,
const void *name, PGPSize nameLength);
PGPOptionListRef PGPOCreationDate( PGPContextRef context,
PGPTime creationDate);
PGPOptionListRef PGPOExpiration( PGPContextRef context,
PGPUInt32 expirationDays);
PGPOptionListRef PGPOAdditionalRecipientRequestKeySet(
PGPContextRef context,
PGPKeySetRef arKeySetRef, PGPByte arkClass);
PGPOptionListRef PGPORevocationKeySet(PGPContextRef context,
PGPKeySetRef raKeySetRef);
PGPOptionListRef PGPOKeyGenMasterKey( PGPContextRef context,
PGPKeyDBObjRef masterKeyDBObjRef);
PGPOptionListRef PGPOPreferredAlgorithms(
PGPContextRef context,
PGPCipherAlgorithm const *prefAlg,
PGPUInt32 numAlgs);
PGPOptionListRef PGPOPreferredKeyServer(
PGPContextRef context,
char const * server );
PGPOptionListRef PGPOKeyFlags( PGPContextRef context,
PGPUInt32 flags);
PGPOptionListRef PGPOKeyServerPreferences( PGPContextRef context,
PGPUInt32 preferences);
PGPOptionListRef PGPOKeyGenFast( PGPContextRef context,
PGPBoolean fastGen);
PGPOptionListRef PGPOKeyGenOnToken( PGPContextRef context,
PGPUInt32 tokenID);
PGPOptionListRef PGPOOutputToken( PGPContextRef context, PGPUInt32 token );
PGPOptionListRef PGPOKeyContainer( PGPContextRef context,
const PGPByte *keyContainerName,
PGPSize keyContainerNameSize );
PGPOptionListRef PGPOKeyGenUseExistingEntropy( PGPContextRef context,
PGPBoolean useExistingEntropy);
PGPOptionListRef PGPOCommentString( PGPContextRef context,
char const *comment);
PGPOptionListRef PGPOVersionString( PGPContextRef context,
char const *version);
PGPOptionListRef PGPOFileNameString( PGPContextRef context,
char const *fileName);
PGPOptionListRef PGPOSigRegularExpression(PGPContextRef context,
char const *regularExpression);
PGPOptionListRef PGPOExportPrivateKeys( PGPContextRef context,
PGPBoolean exportKeys);
PGPOptionListRef PGPOExportPrivateSubkeys( PGPContextRef context,
PGPBoolean exportSubkeys);
PGPOptionListRef PGPOExportFormat(PGPContextRef context,
PGPExportFormat exportFormat);
PGPOptionListRef PGPOExportable( PGPContextRef context,
PGPBoolean exportable);
PGPOptionListRef PGPOSigTrust( PGPContextRef context,
PGPUInt32 trustLevel,
PGPUInt32 trustValue);
PGPOptionListRef PGPOInputFormat( PGPContextRef context,
PGPInputFormat inputFormat );
PGPOptionListRef PGPOOutputFormat( PGPContextRef context,
PGPOutputFormat outputFormat );
PGPOptionListRef PGPOAttributeValue( PGPContextRef context,
PGPAttributeValue *attributeValue,
PGPUInt32 attributeValueCount);
PGP_END_C_DECLARATIONS
#endif /* ] Included_pgpOptionList_h */
/*__Editor_settings____
Local Variables:
tab-width: 4
End:
vi: ts=4 sw=4
vim: si
_____________________*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -