SCEP request generation. More...
Go to the source code of this file.
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) 2010-2025 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.5.2
Definition in file scep_client_req_format.h.
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.