📄 pbe12.h
字号:
/* Copyright (C) 2002 PGP Corporation
Author: Michael_Elkins@nai.com
Last Edit: April 9, 1999 */
/* internal header file for pkcs-12 library */
#include "libpkcs12.h"
#include "pkcs12_asn.h"
#include "pkcs12_oid.h"
#include "x509CMS.h"
#include "pgpErrors.h"
#include "pgpMemoryMgr.h"
#include "pgpErrors.h"
#include "pgpPFLErrors.h"
#include "pgpHash.h"
#include "pgpHMAC.h"
#include "pgpCBC.h"
#define kPGPPBEIDEncryptKey 0x01
#define kPGPPBEIDIV 0x02
#define kPGPPBEIDMACKey 0x03
PGPError
pbe12GenerateRandomBits (
PGPContextRef context,
PGPHashAlgorithm alg,
unsigned char id,
size_t iterationCount,
const unsigned char *salt,
size_t saltSize,
const unsigned char *password,
size_t passwordSize,
size_t n, /* [IN] n, num of random bytes */
unsigned char **A); /* [OUT] random bit string */
PGPError
pbe12ASCIIToBMPString (
PKICONTEXT *context,
const unsigned char *ascii,
size_t asciilen,
unsigned char **bmp,
size_t *bmplen);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -