x509_crl.h
mbedtls/private_access.h
mbedtls/build_info.h
mbedtls/x509.h
ssl.h
x509_crt.h
mbedtls/asn1.h
mbedtls/bignum.h
mbedtls/build_info.h
mbedtls/ccm.h
mbedtls/chacha20.h
mbedtls/chachapoly.h
mbedtls/check_config.h
mbedtls/cipher.h
mbedtls/cmac.h
mbedtls/config_adjust_legacy_crypto.h
mbedtls/config_adjust_psa_from_legacy.h
mbedtls/config_adjust_psa_superset_legacy.h
mbedtls/config_adjust_ssl.h
mbedtls/config_adjust_x509.h
mbedtls/config_psa.h
mbedtls/ecdsa.h
mbedtls/ecjpake.h
mbedtls/ecp.h
mbedtls/gcm.h
mbedtls/mbedtls_config.h
mbedtls/md.h
mbedtls/md5.h
mbedtls/pk.h
mbedtls/platform_time.h
mbedtls/platform_util.h
mbedtls/poly1305.h
mbedtls/private_access.h
mbedtls/ripemd160.h
mbedtls/rsa.h
mbedtls/sha1.h
mbedtls/sha256.h
mbedtls/sha3.h
mbedtls/sha512.h
mbedtls/threading.h
mbedtls/x509.h
x509_crl.h
psa/build_info.h
psa/crypto.h
psa/crypto_adjust_auto_enabled.h
psa/crypto_adjust_config_dependencies.h
psa/crypto_adjust_config_key_pair_types.h
psa/crypto_adjust_config_synonyms.h
psa/crypto_builtin_composites.h
psa/crypto_builtin_key_derivation.h
psa/crypto_builtin_primitives.h
crypto_compat.h
psa/crypto_driver_common.h
psa/crypto_driver_contexts_composites.h
psa/crypto_driver_contexts_key_derivation.h
psa/crypto_driver_contexts_primitives.h
crypto_extra.h
psa/crypto_legacy.h
crypto_platform.h
crypto_sizes.h
crypto_struct.h
crypto_types.h
crypto_values.h
inttypes.h
limits.h
pthread.h
stddef.h
stdint.h
stdio.h
stdlib.h
time.h
debug.h
net_sockets.h
pkcs7.h
ssl.h
ssl_cache.h
ssl_cookie.h
ssl_ticket.h
x509_crl.h
x509_crt.h
mbedtls_x509_crl_entry
mbedtls_x509_crl
Structures and functions for parsing CRLs
- mbedtls_x509_crl_entry
- mbedtls_x509_crl
- mbedtls_x509_crl_parse_der
- mbedtls_x509_crl_parse
- mbedtls_x509_crl_parse_file
- mbedtls_x509_crl_info
- mbedtls_x509_crl_init
- mbedtls_x509_crl_free

X.509 certificate revocation list parsing.

    /*
    *CopyrightTheMbedTLSContributors
    *SPDX-License-Identifier:Apache-2.0ORGPL-2.0-or-later
    */
    #ifndefMBEDTLS_X509_CRL_H
    #defineMBEDTLS_X509_CRL_H
    #include"mbedtls/private_access.h"

    #include"mbedtls/build_info.h"

    #include"mbedtls/x509.h"

    #ifdef__cplusplus
    extern"C"{
    #endif

    typedefstructmbedtls_x509_crl_entry{
    mbedtls_x509_bufraw;
    mbedtls_x509_bufserial;
    mbedtls_x509_timerevocation_date;
    mbedtls_x509_bufentry_ext;

    structmbedtls_x509_crl_entry*next;
    }
    mbedtls_x509_crl_entry;

    typedefstructmbedtls_x509_crl{
    mbedtls_x509_bufraw;
    mbedtls_x509_buftbs;

    intversion;
    mbedtls_x509_bufsig_oid;

    mbedtls_x509_bufissuer_raw;

    mbedtls_x509_nameissuer;

    mbedtls_x509_timethis_update;
    mbedtls_x509_timenext_update;

    mbedtls_x509_crl_entryentry;

    mbedtls_x509_bufcrl_ext;

    mbedtls_x509_bufMBEDTLS_PRIVATE(sig_oid2);
    mbedtls_x509_bufMBEDTLS_PRIVATE(sig);
    mbedtls_md_type_tMBEDTLS_PRIVATE(sig_md);
    mbedtls_pk_type_tMBEDTLS_PRIVATE(sig_pk);
    void*MBEDTLS_PRIVATE(sig_opts);

    structmbedtls_x509_crl*next;
    }
    mbedtls_x509_crl;

    intmbedtls_x509_crl_parse_der(mbedtls_x509_crl*chain,
    constunsignedchar*buf,size_tbuflen);
    intmbedtls_x509_crl_parse(mbedtls_x509_crl*chain,constunsignedchar*buf,size_tbuflen);

    #ifdefined(MBEDTLS_FS_IO)
    intmbedtls_x509_crl_parse_file(mbedtls_x509_crl*chain,constchar*path);
    #endif/*MBEDTLS_FS_IO*/

    #if!defined(MBEDTLS_X509_REMOVE_INFO)
    intmbedtls_x509_crl_info(char*buf,size_tsize,constchar*prefix,
    constmbedtls_x509_crl*crl);
    #endif/*!MBEDTLS_X509_REMOVE_INFO*/

    voidmbedtls_x509_crl_init(mbedtls_x509_crl*crl);

    voidmbedtls_x509_crl_free(mbedtls_x509_crl*crl);

    #ifdef__cplusplus
    }
    #endif

    #endif/*mbedtls_x509_crl.h*/