CRL (Certificate Revocation List) parsing. More...
Go to the source code of this file.
Functions | |
error_t | x509ParseCrl (const uint8_t *data, size_t length, X509CrlInfo *crlInfo) |
Parse a CRL (Certificate Revocation List) More... | |
error_t | x509ParseTbsCertList (const uint8_t *data, size_t length, size_t *totalLength, X509TbsCertList *tbsCertList) |
Parse TBSCertList structure. More... | |
error_t | x509ParseCrlVersion (const uint8_t *data, size_t length, size_t *totalLength, X509Version *version) |
Parse Version field. More... | |
error_t | x509ParseRevokedCertificates (const uint8_t *data, size_t length, size_t *totalLength, X509TbsCertList *tbsCertList) |
Parse RevokedCertificates field. More... | |
error_t | x509ParseRevokedCertificate (const uint8_t *data, size_t length, size_t *totalLength, X509RevokedCertificate *revokedCertificate) |
Parse RevokedCertificate field. More... | |
Detailed Description
CRL (Certificate Revocation List) parsing.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneCRYPTO Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
- 2.4.4
Definition in file x509_crl_parse.h.
Function Documentation
◆ x509ParseCrl()
error_t x509ParseCrl | ( | const uint8_t * | data, |
size_t | length, | ||
X509CrlInfo * | crlInfo | ||
) |
Parse a CRL (Certificate Revocation List)
- Parameters
-
[in] data Pointer to the CRL to parse [in] length Length of the CRL [out] crlInfo Information resulting from the parsing process
- Returns
- Error code
Definition at line 56 of file x509_crl_parse.c.
◆ x509ParseCrlVersion()
error_t x509ParseCrlVersion | ( | const uint8_t * | data, |
size_t | length, | ||
size_t * | totalLength, | ||
X509Version * | version | ||
) |
Parse Version field.
- Parameters
-
[in] data Pointer to the ASN.1 structure to parse [in] length Length of the ASN.1 structure [out] totalLength Number of bytes that have been parsed [out] version Information resulting from the parsing process
- Returns
- Error code
Definition at line 251 of file x509_crl_parse.c.
◆ x509ParseRevokedCertificate()
error_t x509ParseRevokedCertificate | ( | const uint8_t * | data, |
size_t | length, | ||
size_t * | totalLength, | ||
X509RevokedCertificate * | revokedCertificate | ||
) |
Parse RevokedCertificate field.
- Parameters
-
[in] data Pointer to the ASN.1 structure to parse [in] length Length of the ASN.1 structure [out] totalLength Number of bytes that have been parsed [out] revokedCertificate Information resulting from the parsing process
- Returns
- Error code
Definition at line 384 of file x509_crl_parse.c.
◆ x509ParseRevokedCertificates()
error_t x509ParseRevokedCertificates | ( | const uint8_t * | data, |
size_t | length, | ||
size_t * | totalLength, | ||
X509TbsCertList * | tbsCertList | ||
) |
Parse RevokedCertificates field.
- Parameters
-
[in] data Pointer to the ASN.1 structure to parse [in] length Length of the ASN.1 structure [out] totalLength Number of bytes that have been parsed [out] tbsCertList Information resulting from the parsing process
- Returns
- Error code
Definition at line 307 of file x509_crl_parse.c.
◆ x509ParseTbsCertList()
error_t x509ParseTbsCertList | ( | const uint8_t * | data, |
size_t | length, | ||
size_t * | totalLength, | ||
X509TbsCertList * | tbsCertList | ||
) |
Parse TBSCertList structure.
- Parameters
-
[in] data Pointer to the ASN.1 structure to parse [in] length Length of the ASN.1 structure [out] totalLength Number of bytes that have been parsed [out] tbsCertList Information resulting from the parsing process
- Returns
- Error code
Definition at line 134 of file x509_crl_parse.c.