pkcs8_struct.h

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

H
49
字号
/*******************************************************************
 *
 * 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:55:31 1999
 *
 ******************************************************************/

#ifndef pkcs8_STRUCT_H_
#define pkcs8_STRUCT_H_

#include "pkcs7_asn.h"

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


typedef PKIOCTET_STRING   PKIPKCS8EncryptedData;
#define PKIID_PKCS8EncryptedData PKIID_OCTET_STRING

typedef PKIOCTET_STRING   PKIPrivateKey;
#define PKIID_PrivateKey PKIID_OCTET_STRING

typedef PKIAlgorithmIdentifier PKIEncryptionAlgorithmIdentifier;
#define PKIID_EncryptionAlgorithmIdentifier PKIID_AlgorithmIdentifier

typedef PKIAlgorithmIdentifier PKIPrivateKeyAlgorithmIdentifier;
#define PKIID_PrivateKeyAlgorithmIdentifier PKIID_AlgorithmIdentifier

typedef struct {
    PKIEncryptionAlgorithmIdentifier  encryptionAlgorithm;
    PKIPKCS8EncryptedData  encryptedData;
} PKIEncryptedPrivateKeyInfo;
#define PKIID_EncryptedPrivateKeyInfo PKIID_SEQUENCE

typedef struct {
    PKIVersion  version;
    PKIPrivateKeyAlgorithmIdentifier  privateKeyAlgorithm;
    PKIPrivateKey  privateKey;
    PKIAttributes *attributes;
} PKIPrivateKeyInfo;
#define PKIID_PrivateKeyInfo PKIID_SEQUENCE

#endif /* pkcs8_STRUCT_H_ */

⌨️ 快捷键说明

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