SCEP request generation. More...
#include "scep/scep_client.h"#include "scep/scep_client_req_format.h"#include "scep/scep_client_misc.h"#include "pkcs7/pkcs7_format.h"#include "pkcs7/pkcs7_encrypt.h"#include "pkcs7/pkcs7_sign_generate.h"#include "pkix/x509_cert_parse.h"#include "pkix/x509_cert_format.h"#include "pkix/x509_csr_parse.h"#include "encoding/asn1.h"#include "debug.h"Go to the source code of this file.
Macros | |
| #define | TRACE_LEVEL SCEP_TRACE_LEVEL |
Functions | |
| error_t | scepClientFormatPkiMessage (ScepClientContext *context, ScepMessageType messageType, uint8_t *output, size_t *written) |
| Format PKI message. More... | |
| error_t | scepClientFormatPkcsPkiEnvelope (ScepClientContext *context, ScepMessageType messageType, uint8_t *output, size_t *written) |
| Format pkcsPKIEnvelope structure. More... | |
| error_t | scepClientFormatIssuerAndSubject (ScepClientContext *context, uint8_t *output, size_t *written) |
| Format IssuerAndSubject structure. More... | |
Detailed Description
SCEP request generation.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2024-2025 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneSCEP 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.5.4
Definition in file scep_client_req_format.c.
Macro Definition Documentation
◆ TRACE_LEVEL
| #define TRACE_LEVEL SCEP_TRACE_LEVEL |
Definition at line 32 of file scep_client_req_format.c.
Function Documentation
◆ scepClientFormatIssuerAndSubject()
| error_t scepClientFormatIssuerAndSubject | ( | ScepClientContext * | context, |
| uint8_t * | output, | ||
| size_t * | written | ||
| ) |
Format IssuerAndSubject structure.
- Parameters
-
[in] context Pointer to the SCEP client context [out] output Buffer where to format the ASN.1 structure [out] written Length of the resulting ASN.1 structure
- Returns
- Error code
Definition at line 322 of file scep_client_req_format.c.
◆ scepClientFormatPkcsPkiEnvelope()
| error_t scepClientFormatPkcsPkiEnvelope | ( | ScepClientContext * | context, |
| ScepMessageType | messageType, | ||
| uint8_t * | output, | ||
| size_t * | written | ||
| ) |
Format pkcsPKIEnvelope structure.
- Parameters
-
[in] context Pointer to the SCEP client context [in] messageType SCEP message type [out] output Buffer where to format the pkcsPKIEnvelope structure [out] written Length of the resulting pkcsPKIEnvelope structure
- Returns
- Error code
Definition at line 214 of file scep_client_req_format.c.
◆ scepClientFormatPkiMessage()
| error_t scepClientFormatPkiMessage | ( | ScepClientContext * | context, |
| ScepMessageType | messageType, | ||
| uint8_t * | output, | ||
| size_t * | written | ||
| ) |
Format PKI message.
- Parameters
-
[in] context Pointer to the SCEP client context [in] messageType SCEP message type [out] output Buffer where to format the PKI message [out] written Length of the resulting PKI message
- Returns
- Error code
Definition at line 60 of file scep_client_req_format.c.
