pkcs12_struct.h

来自「可以实现对邮件的加密解密以及签名」· C头文件 代码 · 共 101 行

H
101
字号
/*******************************************************************
 *
 * This file was generated by TIS/ASN1COMP Ver. 4.3, an ASN.1 compiler.
 * TIS/ASN1COMP is Copyright (C) 2002 PGP Corporation
 *
 * This file was AUTOMATICALLY GENERATED on Mon Aug  2 15:56:16 1999
 *
 ******************************************************************/

#ifndef pkcs12_STRUCT_H_
#define pkcs12_STRUCT_H_

#include "pkcs8_asn.h"

/*******************************************************************
 *
 * Structure and type definitions
 *
 ******************************************************************/


typedef PKIOCTET_STRING   PKILocalKeyID;
#define PKIID_LocalKeyID PKIID_OCTET_STRING

typedef PKIIA5String   PKISDSICertificate;
#define PKIID_SDSICertificate PKIID_IA5String

typedef PKIOCTET_STRING   PKIX509Certificate;
#define PKIID_X509Certificate PKIID_OCTET_STRING

typedef PKIOCTET_STRING   PKIX509Crl;
#define PKIID_X509Crl PKIID_OCTET_STRING

typedef struct {
    long  n;          /* number of elements */
    PKIContentInfo **elt;
} PKIAuthenticatedSafes;
#define PKIID_AuthenticatedSafes PKIID_SEQUENCE_OF

typedef struct {
    PKIOBJECT_ID  crlType;
    PKIANY  crl;
} PKICRLBag;
#define PKIID_CRLBag PKIID_SEQUENCE

typedef struct {
    PKIOBJECT_ID  certType;
    PKIANY  cert;
} PKICertBag;
#define PKIID_CertBag PKIID_SEQUENCE

typedef PKIPrivateKeyInfo PKIKeyBag;
#define PKIID_KeyBag PKIID_PrivateKeyInfo

typedef struct {
    PKIDigestInfo  mac;
    PKIOCTET_STRING  macSalt;
    PKIINTEGER *macIterationCount;
} PKIMacData;
#define PKIID_MacData PKIID_SEQUENCE

typedef PKIEncryptedPrivateKeyInfo PKIPKCS_8ShroudedKeyBag;
#define PKIID_PKCS_8ShroudedKeyBag PKIID_EncryptedPrivateKeyInfo

typedef struct {
    PKIOBJECT_ID  bagType;
    PKIANY  bagContent;
    PKIAttributes *bagAttributes;
} PKISafeBag;
#define PKIID_SafeBag PKIID_SEQUENCE

typedef struct {
    PKIOBJECT_ID  secretType;
    PKIANY  secret;
} PKISecretBag;
#define PKIID_SecretBag PKIID_SEQUENCE

typedef struct {
    PKIOCTET_STRING  salt;
    PKIINTEGER  iterationCount;
} PKIpkcs_12PbeParams;
#define PKIID_pkcs_12PbeParams PKIID_SEQUENCE

typedef struct {
    PKIVersion  version;
    PKIContentInfo  authSafes;
    PKIMacData *macData;
} PKIPFX;
#define PKIID_PFX PKIID_SEQUENCE

typedef struct {
    long  n;          /* number of elements */
    PKISafeBag **elt;
} PKISafeContents;
#define PKIID_SafeContents PKIID_SEQUENCE_OF

typedef PKISafeContents PKISafeContentsBag;
#define PKIID_SafeContentsBag PKIID_SafeContents

#endif /* pkcs12_STRUCT_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?