Go to the documentation of this file.
42 #define SOPC_CertificateValidationError_Invalid 0x80120000
43 #define SOPC_CertificateValidationError_TimeInvalid 0x80140000
44 #define SOPC_CertificateValidationError_IssuerTimeInvalid 0x80150000
45 #define SOPC_CertificateValidationError_HostNameInvalid 0x80160000
46 #define SOPC_CertificateValidationError_UriInvalid 0x80170000
47 #define SOPC_CertificateValidationError_UseNotAllowed 0x80180000
48 #define SOPC_CertificateValidationError_IssuerUseNotAllowed 0x80190000
49 #define SOPC_CertificateValidationError_Untrusted 0x801A0000
50 #define SOPC_CertificateValidationError_RevocationUnknown 0x801B0000
51 #define SOPC_CertificateValidationError_IssuerRevocationUnknown 0x801C0000
52 #define SOPC_CertificateValidationError_Revoked 0x801D0000
53 #define SOPC_CertificateValidationError_IssuerRevoked 0x801E0000
54 #define SOPC_CertificateValidationError_ChainIncomplete 0x810D0000
55 #define SOPC_CertificateValidationError_Unkown 0x80000000
The signed public key representation, or a chained list of such keys.
Definition: key_manager_lib.h:66
The PKIProvider object defines the common interface for the Public Key Infrastructure.
Definition: sopc_pki.h:71
void * pIssuedCertsList
Placeholder for issued certificates that are trusted on a one by one basis.
Definition: sopc_pki.h:100
void SOPC_PKIProvider_Free_Func(SOPC_PKIProvider *pPKI)
Definition: sopc_pki.h:57
The SOPC_KeyManager provides an API for Asymmetric Key Management such as loading signed public keys ...
void * pTrustedIssuerRootsList
Placeholder for CAs of trusted issuer roots (only roots, not links).
Definition: sopc_pki.h:92
Defines the common declarations for the cryptographic objects.
void * pUntrustedIssuerLinksList
Placeholder for CAs of untrusted issuers links (between a certificate to validate and a root).
Definition: sopc_pki.h:98
Defines the cryptographic API. This API mainly relies on the SOPC_CryptoProvider, which is composed o...
void SOPC_PKIProvider_Free(SOPC_PKIProvider **ppPKI)
Free a PKI provider.
void * pUserData
PKI implementations can use this placeholder to store more specific data.
Definition: sopc_pki.h:104
SOPC_PKIProvider_Free_Func *const pFnFree
The free function, called upon generic SOPC_PKIProvider destruction.
Definition: sopc_pki.h:75
void * pUntrustedIssuerRootsList
Placeholder for CAs of untrusted issuer roots (CAs used to validate issued certififcates,...
Definition: sopc_pki.h:96
SOPC_ReturnStatus SOPC_FnValidateCertificate(const struct SOPC_PKIProvider *pPKI, const SOPC_CertificateList *pToValidate, uint32_t *error)
error is only set if returned status is different from SOPC_STATUS_OK
Definition: sopc_pki.h:63
SOPC_FnValidateCertificate *const pFnValidateCertificate
The validation function, which is wrapped by SOPC_CryptoProvider_Certificate_Validate().
Definition: sopc_pki.h:89
void * pCertRevocList
PKI implementations can use this placeholder to store handles to certificate revocation list(s).
Definition: sopc_pki.h:102
void * pTrustedIssuerLinksList
Placeholder for CAs of trusted issuers links (between a certificate to validate and a root).
Definition: sopc_pki.h:94
SOPC_ReturnStatus
Definition: libs2opc_client.h:61