SCEP common definitions. More...
Go to the source code of this file.
Data Structures | |
struct | ScepIssuerAndSubject |
Issuer and subject. More... | |
Macros | |
#define | SCEP_NONCE_SIZE 16 |
Enumerations | |
enum | ScepMessageType { SCEP_MSG_TYPE_RESERVED = 0, SCEP_MSG_TYPE_CERT_REP = 3, SCEP_MSG_TYPE_RENEWAL_REQ = 17, SCEP_MSG_TYPE_PKCS_REQ = 19, SCEP_MSG_TYPE_CERT_POLL = 20, SCEP_MSG_TYPE_GET_CERT = 21, SCEP_MSG_TYPE_GET_CRL = 22 } |
SCEP message types. More... | |
enum | ScepPkiStatus { SCEP_PKI_STATUS_SUCCESS = 0, SCEP_PKI_STATUS_FAILURE = 2, SCEP_PKI_STATUS_PENDING = 3 } |
PKI status. More... | |
enum | ScepFailInfo { SCEP_FAIL_INFO_BAD_ALG = 0, SCEP_FAIL_INFO_BAD_MESSAGE_CHECK = 1, SCEP_FAIL_INFO_BAD_REQUEST = 2, SCEP_FAIL_INFO_BAD_TIME = 3, SCEP_FAIL_INFO_BAD_CERT_ID = 4 } |
Fail info. More... | |
enum | ScepCaCaps { SCEP_CA_CAPS_NONE = 0x00, SCEP_CA_CAPS_AES = 0x01, SCEP_CA_CAPS_DES3 = 0x02, SCEP_CA_CAPS_GET_NEXT_CA_CERT = 0x04, SCEP_CA_CAPS_POST_PKI_OPERATION = 0x08, SCEP_CA_CAPS_RENEWAL = 0x10, SCEP_CA_CAPS_SHA1 = 0x20, SCEP_CA_CAPS_SHA256 = 0x40, SCEP_CA_CAPS_SHA512 = 0x80 } |
CA capabilities. More... | |
Variables | |
const uint8_t | SCEP_MESSAGE_TYPE_OID [10] |
const uint8_t | SCEP_PKI_STATUS_OID [10] |
const uint8_t | SCEP_FAIL_INFO_OID [10] |
const uint8_t | SCEP_SENDER_NONCE_OID [10] |
const uint8_t | SCEP_RECIPIENT_NONCE_OID [10] |
const uint8_t | SCEP_TRANSACTION_ID_OID [10] |
const uint8_t | SCEP_FAIL_INFO_TEXT_OID [8] |
Detailed Description
SCEP common definitions.
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_common.h.
Macro Definition Documentation
◆ SCEP_NONCE_SIZE
#define SCEP_NONCE_SIZE 16 |
Definition at line 39 of file scep_common.h.
Enumeration Type Documentation
◆ ScepCaCaps
enum ScepCaCaps |
CA capabilities.
Definition at line 93 of file scep_common.h.
◆ ScepFailInfo
enum ScepFailInfo |
Fail info.
Enumerator | |
---|---|
SCEP_FAIL_INFO_BAD_ALG | badAlg |
SCEP_FAIL_INFO_BAD_MESSAGE_CHECK | badMessageCheck |
SCEP_FAIL_INFO_BAD_REQUEST | badRequest |
SCEP_FAIL_INFO_BAD_TIME | badTime |
SCEP_FAIL_INFO_BAD_CERT_ID | badCertId |
Definition at line 79 of file scep_common.h.
◆ ScepMessageType
enum ScepMessageType |
SCEP message types.
Definition at line 51 of file scep_common.h.
◆ ScepPkiStatus
enum ScepPkiStatus |
PKI status.
Enumerator | |
---|---|
SCEP_PKI_STATUS_SUCCESS | Success. |
SCEP_PKI_STATUS_FAILURE | Failure. |
SCEP_PKI_STATUS_PENDING | Pending. |
Definition at line 67 of file scep_common.h.
Variable Documentation
◆ SCEP_FAIL_INFO_OID
|
extern |
Definition at line 46 of file scep_common.c.
◆ SCEP_FAIL_INFO_TEXT_OID
|
extern |
Definition at line 54 of file scep_common.c.
◆ SCEP_MESSAGE_TYPE_OID
|
extern |
Definition at line 42 of file scep_common.c.
◆ SCEP_PKI_STATUS_OID
|
extern |
Definition at line 44 of file scep_common.c.
◆ SCEP_RECIPIENT_NONCE_OID
|
extern |
Definition at line 50 of file scep_common.c.
◆ SCEP_SENDER_NONCE_OID
|
extern |
Definition at line 48 of file scep_common.c.
◆ SCEP_TRANSACTION_ID_OID
|
extern |
Definition at line 52 of file scep_common.c.