29#ifndef SOPC_PKI_STACK_LIB_ITF_H_
30#define SOPC_PKI_STACK_LIB_ITF_H_
60 char*** ppThumbprints,
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_PKIProvider_CheckSecurityPolicy(const SOPC_CertificateList *pToValidate, const SOPC_PKI_LeafProfile *pConfig)
Checks if the PKI public keys are valid.
SOPC_ReturnStatus SOPC_PKIProvider_CheckHostName(const SOPC_CertificateList *pToValidate, const char *url)
Checks if the host name in the URL used to connect to the server is the same as the host name in the ...
SOPC_ReturnStatus SOPC_PKIProvider_CheckCommonName(const SOPC_CertificateList *pToValidate)
Checks if the Common Name attribute of a certificate thumbprint is specified.
SOPC_ReturnStatus SOPC_PKIProvider_VerifyEveryCertificate(SOPC_PKIProvider *pPKI, const SOPC_PKI_ChainProfile *pProfile, uint32_t **pErrors, char ***ppThumbprints, uint32_t *pLength)
Verify every certificate of the PKI.
SOPC_ReturnStatus SOPC_PKIProvider_CheckCertificateUsage(const SOPC_CertificateList *pToValidate, const SOPC_PKI_LeafProfile *pProfile)
Checks if the certificate uses are matching the required uses.
SOPC_ReturnStatus SOPC_PKIProvider_AddCertToRejectedList(SOPC_PKIProvider *pPKI, const SOPC_CertificateList *pCert)
Add a certificate to the PKI rejected list.
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 certificate chain profile for the validation with SOPC_PKIProvider_ValidateC...
Definition sopc_pki_struct_lib_internal.h:120
Structure containing the leaf certificate profile for validation with SOPC_PKIProvider_ValidateCertif...
Definition sopc_pki_struct_lib_internal.h:91