scep_client_req_format.h File Reference

SCEP request generation. More...

#include "core/net.h"
#include "scep/scep_client.h"

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.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
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]contextPointer to the SCEP client context
[out]outputBuffer where to format the ASN.1 structure
[out]writtenLength 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]contextPointer to the SCEP client context
[in]messageTypeSCEP message type
[out]outputBuffer where to format the pkcsPKIEnvelope structure
[out]writtenLength 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]contextPointer to the SCEP client context
[in]messageTypeSCEP message type
[out]outputBuffer where to format the PKI message
[out]writtenLength of the resulting PKI message
Returns
Error code

Definition at line 60 of file scep_client_req_format.c.