S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_pki_stack_lib_internal_itf.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
26#ifndef SOPC_PKI_STACK_LIB_INT_ITF_H
27#define SOPC_PKI_STACK_LIB_INT_ITF_H
28
29#include "sopc_pki_decl.h"
30
51 const SOPC_CertificateList* pToValidate,
52 const SOPC_PKI_Profile* pProfile,
53 uint32_t* error);
54
68 SOPC_CertificateList** ppRootCa);
69
83 uint32_t* caCount,
84 uint32_t* listLength,
85 uint32_t* rootCount);
86
87#endif /* SOPC_PKI_STACK_LIB_INT_ITF_H */
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
Defines the common declarations for the PKI objects. The structures and macros defined in this file a...
SOPC_ReturnStatus SOPC_PKIProviderInternal_ValidateProfileAndCertificate(SOPC_PKIProvider *pPKI, const SOPC_CertificateList *pToValidate, const SOPC_PKI_Profile *pProfile, uint32_t *error)
Validation function for a certificate with the PKI chain.
SOPC_ReturnStatus SOPC_PKIProviderInternal_SplitRootFromCertList(SOPC_CertificateList **ppCerts, SOPC_CertificateList **ppRootCa)
Delete the roots CAs of the list ppCerts. Create a new list ppRootCa with all roots CA from ppCerts ....
void SOPC_PKIProviderInternal_GetListStats(SOPC_CertificateList *pCert, uint32_t *caCount, uint32_t *listLength, uint32_t *rootCount)
Get some statistics about the pCert .
The signed public key representation.
Definition key_manager_cyclone.h:60
The PKIProvider object for the Public Key Infrastructure.
Definition sopc_pki_struct_lib_internal.h:39
Structure containing the validation configuration.
Definition sopc_pki_struct_lib_internal.h:146