pkcs8.h

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

H
105
字号
/*******************************************************************
 *
 * 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_H_
#define pkcs8_H_

#include "pkcs8_struct.h"

/*******************************************************************
 *
 * Function declarations for internal functions
 *
 ******************************************************************/

#define PKISizeofPKCS8EncryptedDataInternal PKISizeofOCTET_STRINGInternal
#define PKIDropInPlacePKCS8EncryptedData PKIDropInPlaceOCTET_STRING
#define PKIPackPKCS8EncryptedDataInternal PKIPackOCTET_STRINGInternal
#define PKIUnpkInPlacePKCS8EncryptedData PKIUnpkInPlaceOCTET_STRING
#define PKIUnpackPKCS8EncryptedDataInternal PKIUnpackOCTET_STRINGInternal

#define PKISizeofPrivateKeyInternal PKISizeofOCTET_STRINGInternal
#define PKIDropInPlacePrivateKey PKIDropInPlaceOCTET_STRING
#define PKIPackPrivateKeyInternal PKIPackOCTET_STRINGInternal
#define PKIUnpkInPlacePrivateKey PKIUnpkInPlaceOCTET_STRING
#define PKIUnpackPrivateKeyInternal PKIUnpackOCTET_STRINGInternal

#define PKISizeofEncryptionAlgorithmIdentifierInternal PKISizeofAlgorithmIdentifierInternal
#define PKIDropInPlaceEncryptionAlgorithmIdentifier PKIDropInPlaceAlgorithmIdentifier
#define PKIPackEncryptionAlgorithmIdentifierInternal PKIPackAlgorithmIdentifierInternal
#define PKIUnpkInPlaceEncryptionAlgorithmIdentifier PKIUnpkInPlaceAlgorithmIdentifier
#define PKIUnpackEncryptionAlgorithmIdentifierInternal PKIUnpackAlgorithmIdentifierInternal

#define PKISizeofPrivateKeyAlgorithmIdentifierInternal PKISizeofAlgorithmIdentifierInternal
#define PKIDropInPlacePrivateKeyAlgorithmIdentifier PKIDropInPlaceAlgorithmIdentifier
#define PKIPackPrivateKeyAlgorithmIdentifierInternal PKIPackAlgorithmIdentifierInternal
#define PKIUnpkInPlacePrivateKeyAlgorithmIdentifier PKIUnpkInPlaceAlgorithmIdentifier
#define PKIUnpackPrivateKeyAlgorithmIdentifierInternal PKIUnpackAlgorithmIdentifierInternal

size_t PKISizeofEncryptedPrivateKeyInfoInternal(
    PKIEncryptedPrivateKeyInfo *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlaceEncryptedPrivateKeyInfo(
    PKICONTEXT *ctx,
    PKIEncryptedPrivateKeyInfo *f);
size_t PKIPackEncryptedPrivateKeyInfoInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKIEncryptedPrivateKeyInfo *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlaceEncryptedPrivateKeyInfo (
    PKICONTEXT *ctx,
    PKIEncryptedPrivateKeyInfo *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackEncryptedPrivateKeyInfoInternal(
    PKICONTEXT *ctx,
    PKIEncryptedPrivateKeyInfo **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);

size_t PKISizeofPrivateKeyInfoInternal(
    PKIPrivateKeyInfo *asnstruct,
    int outerSizeFlag,
    int expTaggedFlag);
void PKIDropInPlacePrivateKeyInfo(
    PKICONTEXT *ctx,
    PKIPrivateKeyInfo *f);
size_t PKIPackPrivateKeyInfoInternal(
    PKICONTEXT *ctx,
    unsigned char *buf,
    size_t buflen,
    PKIPrivateKeyInfo *asnstruct,
    unsigned char tag,
    int *erret);
size_t PKIUnpkInPlacePrivateKeyInfo (
    PKICONTEXT *ctx,
    PKIPrivateKeyInfo *asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);
size_t PKIUnpackPrivateKeyInfoInternal(
    PKICONTEXT *ctx,
    PKIPrivateKeyInfo **asnstruct,
    const unsigned char *buf,
    size_t buflen,
    unsigned char tag,
    int *erret);


#endif /* pkcs8_H_ */

⌨️ 快捷键说明

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