16#ifndef HITLS_PKI_CRL_H
17#define HITLS_PKI_CRL_H
19#include "hitls_pki_types.h"
20#include "crypt_eal_pkey.h"
26typedef struct _HITLS_X509_Crl HITLS_X509_Crl;
28typedef struct _HITLS_X509_CrlEntry HITLS_X509_CrlEntry;
199 HITLS_X509_Crl *crl);
struct EAL_PkeyCtx CRYPT_EAL_PkeyCtx
定义 crypt_eal_pkey.h:108
int32_t HITLS_X509_CrlEntryCtrl(HITLS_X509_CrlEntry *revoked, int32_t cmd, void *val, uint32_t valLen)
Control interface for CRL entry.
int32_t HITLS_X509_CrlParseFile(int32_t format, const char *path, HITLS_X509_Crl **crl)
Parse the CRL in the file.
void HITLS_X509_CrlEntryFree(HITLS_X509_CrlEntry *entry)
Release the CRL certificateRevoke struct .
int32_t HITLS_X509_CrlParseBundleFile(int32_t format, const char *path, HITLS_X509_List **crlList)
Parse the CRLs in the file.
int32_t HITLS_X509_CrlSign(int32_t mdId, const CRYPT_EAL_PkeyCtx *prvKey, const HITLS_X509_SignAlgParam *algParam, HITLS_X509_Crl *crl)
Signing a CRL.
int32_t HITLS_X509_CrlVerify(void *pubkey, const HITLS_X509_Crl *crl)
Verify the integrity of the CRL.
HITLS_X509_CrlEntry * HITLS_X509_CrlEntryNew(void)
Allocate a revoked certificate.
void HITLS_X509_CrlFree(HITLS_X509_Crl *crl)
Release the CRL.
int32_t HITLS_X509_CrlParseBuff(int32_t format, const BSL_Buffer *encode, HITLS_X509_Crl **crl)
Parse the CRL in the buffer.
int32_t HITLS_X509_CrlGenFile(int32_t format, HITLS_X509_Crl *crl, const char *path)
Generate a CRL and encode it to specific file.
int32_t HITLS_X509_CrlCtrl(HITLS_X509_Crl *crl, int32_t cmd, void *val, uint32_t valLen)
Crl setting interface.
int32_t HITLS_X509_CrlParseBundleBuff(int32_t format, const BSL_Buffer *encode, HITLS_X509_List **crlList)
Parse multiple CRLs from a buffer.
HITLS_X509_Crl * HITLS_X509_CrlNew(void)
Allocate a crl.
int32_t HITLS_X509_CrlGenBuff(int32_t format, HITLS_X509_Crl *crl, BSL_Buffer *buff)
Generate a CRL and encode it.
Signature algorithm parameters.
定义 hitls_pki_types.h:215