x509_crl.h
mbedtls/config.h
mbedtls/x509.h
ssl.h
x509_crt.h
mbedtls/asn1.h
mbedtls/bignum.h
mbedtls/check_config.h
mbedtls/config.h
mbedtls/ecdsa.h
mbedtls/ecp.h
mbedtls/md.h
mbedtls/pk.h
mbedtls/platform_time.h
mbedtls/platform_util.h
mbedtls/rsa.h
mbedtls/threading.h
mbedtls/x509.h
x509_crl.h
limits.h
pthread.h
stddef.h
stdint.h
stdio.h
stdlib.h
time.h
debug.h
net.h
net_sockets.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

    #if!defined(MBEDTLS_CONFIG_FILE)
    #include"mbedtls/config.h"
    #else
    #includeMBEDTLS_CONFIG_FILE
    #endif

    #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_bufsig_oid2;
    mbedtls_x509_bufsig;
    mbedtls_md_type_tsig_md;
    mbedtls_pk_type_tsig_pk;
    void*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*/

    intmbedtls_x509_crl_info(char*buf,size_tsize,constchar*prefix,
    constmbedtls_x509_crl*crl);

    voidmbedtls_x509_crl_init(mbedtls_x509_crl*crl);

    voidmbedtls_x509_crl_free(mbedtls_x509_crl*crl);

    #ifdef__cplusplus
    }
    #endif

    #endif/*mbedtls_x509_crl.h*/