S2OPC OPCUA Toolkit
sopc_pki_stack.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 
28 #ifndef SOPC_PKI_STACK_H_
29 #define SOPC_PKI_STACK_H_
30 
31 #include "sopc_crypto_provider.h"
32 #include "sopc_key_manager.h"
33 #include "sopc_pki.h"
34 
61  SOPC_CRLList* pRevocationList,
62  SOPC_PKIProvider** ppPKI);
63 
137  char** lPathTrustedIssuerLinks,
138  char** lPathUntrustedIssuerRoots,
139  char** lPathUntrustedIssuerLinks,
140  char** lPathIssuedCerts,
141  char** lPathCRL,
142  SOPC_PKIProvider** ppPKI);
143 
144 #endif /* SOPC_PKI_STACK_H_ */
sopc_pki.h
Defines the common interface that a PKI should provide. This is a minimal interface,...
SOPC_PKIProvider
The PKIProvider object defines the common interface for the Public Key Infrastructure.
Definition: sopc_pki.h:71
sopc_key_manager.h
The SOPC_KeyManager provides an API for Asymmetric Key Management such as loading signed public keys ...
SOPC_Buffer
Bytes buffer structure.
Definition: sopc_buffer.h:38
sopc_crypto_provider.h
Defines the cryptographic API. This API mainly relies on the SOPC_CryptoProvider, which is composed o...
SOPC_PKIProviderStack_Create
SOPC_ReturnStatus SOPC_PKIProviderStack_Create(SOPC_SerializedCertificate *pCertAuth, SOPC_CRLList *pRevocationList, SOPC_PKIProvider **ppPKI)
Creates the minimal validation implementation provided by the stack, which fulfills the SOPC_PKIProvi...
SOPC_PKIProviderStack_CreateFromPaths
SOPC_ReturnStatus SOPC_PKIProviderStack_CreateFromPaths(char **lPathTrustedIssuerRoots, char **lPathTrustedIssuerLinks, char **lPathUntrustedIssuerRoots, char **lPathUntrustedIssuerLinks, char **lPathIssuedCerts, char **lPathCRL, SOPC_PKIProvider **ppPKI)
Creates a SOPC_PKIProviderStack using lists of paths.
SOPC_CRLList
A list of Certificate Revocation Lists.
Definition: key_manager_lib.h:79
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:61