S2OPC OPCUA Toolkit
Macros | Typedefs
sopc_crypto_decl.h File Reference

Defines the common declarations for the cryptographic objects. The structures and macros defined in this file are required before including library-specific files (from lib_itf) More...

#include <stdbool.h>
#include <stdint.h>
#include "sopc_buffer.h"
#include "sopc_secret_buffer.h"

Go to the source code of this file.

Macros

#define SOPC_CertificateValidationError_Invalid   0x80120000
 
#define SOPC_CertificateValidationError_PolicyCheckFailed   0x81140000
 
#define SOPC_CertificateValidationError_TimeInvalid   0x80140000
 
#define SOPC_CertificateValidationError_IssuerTimeInvalid   0x80150000
 
#define SOPC_CertificateValidationError_HostNameInvalid   0x80160000
 
#define SOPC_CertificateValidationError_UriInvalid   0x80170000
 
#define SOPC_CertificateValidationError_UseNotAllowed   0x80180000
 
#define SOPC_CertificateValidationError_IssuerUseNotAllowed   0x80190000
 
#define SOPC_CertificateValidationError_Untrusted   0x801A0000
 
#define SOPC_CertificateValidationError_RevocationUnknown   0x801B0000
 
#define SOPC_CertificateValidationError_IssuerRevocationUnknown   0x801C0000
 
#define SOPC_CertificateValidationError_Revoked   0x801D0000
 
#define SOPC_CertificateValidationError_IssuerRevoked   0x801E0000
 
#define SOPC_CertificateValidationError_ChainIncomplete   0x810D0000
 
#define SOPC_CertificateValidationError_Unknown   0x80000000
 

Typedefs

typedef struct SOPC_CryptoProvider SOPC_CryptoProvider
 
typedef struct SOPC_CryptoProfile SOPC_CryptoProfile
 
typedef struct SOPC_CryptoProfile_PubSub SOPC_CryptoProfile_PubSub
 
typedef struct SOPC_CryptolibContext SOPC_CryptolibContext
 
typedef struct SOPC_AsymmetricKey SOPC_AsymmetricKey
 
typedef struct SOPC_CertificateList SOPC_CertificateList
 
typedef struct SOPC_CRLList SOPC_CRLList
 
typedef struct SOPC_CSR SOPC_CSR
 
typedef SOPC_SecretBuffer SOPC_SerializedAsymmetricKey
 A serialized representation of an asymmetric key. More...
 
typedef SOPC_Buffer SOPC_SerializedCertificate
 A serialized representation of a certificate in DER format. More...
 
typedef SOPC_Buffer SOPC_SerializedCRL
 A serialized representation of a CRL. More...
 

Detailed Description

Defines the common declarations for the cryptographic objects. The structures and macros defined in this file are required before including library-specific files (from lib_itf)

Avoids the circular dependencies.

Macro Definition Documentation

◆ SOPC_CertificateValidationError_Invalid

#define SOPC_CertificateValidationError_Invalid   0x80120000

◆ SOPC_CertificateValidationError_PolicyCheckFailed

#define SOPC_CertificateValidationError_PolicyCheckFailed   0x81140000

◆ SOPC_CertificateValidationError_TimeInvalid

#define SOPC_CertificateValidationError_TimeInvalid   0x80140000

◆ SOPC_CertificateValidationError_IssuerTimeInvalid

#define SOPC_CertificateValidationError_IssuerTimeInvalid   0x80150000

◆ SOPC_CertificateValidationError_HostNameInvalid

#define SOPC_CertificateValidationError_HostNameInvalid   0x80160000

◆ SOPC_CertificateValidationError_UriInvalid

#define SOPC_CertificateValidationError_UriInvalid   0x80170000

◆ SOPC_CertificateValidationError_UseNotAllowed

#define SOPC_CertificateValidationError_UseNotAllowed   0x80180000

◆ SOPC_CertificateValidationError_IssuerUseNotAllowed

#define SOPC_CertificateValidationError_IssuerUseNotAllowed   0x80190000

◆ SOPC_CertificateValidationError_Untrusted

#define SOPC_CertificateValidationError_Untrusted   0x801A0000

◆ SOPC_CertificateValidationError_RevocationUnknown

#define SOPC_CertificateValidationError_RevocationUnknown   0x801B0000

◆ SOPC_CertificateValidationError_IssuerRevocationUnknown

#define SOPC_CertificateValidationError_IssuerRevocationUnknown   0x801C0000

◆ SOPC_CertificateValidationError_Revoked

#define SOPC_CertificateValidationError_Revoked   0x801D0000

◆ SOPC_CertificateValidationError_IssuerRevoked

#define SOPC_CertificateValidationError_IssuerRevoked   0x801E0000

◆ SOPC_CertificateValidationError_ChainIncomplete

#define SOPC_CertificateValidationError_ChainIncomplete   0x810D0000

◆ SOPC_CertificateValidationError_Unknown

#define SOPC_CertificateValidationError_Unknown   0x80000000

Typedef Documentation

◆ SOPC_CryptoProvider

◆ SOPC_CryptoProfile

◆ SOPC_CryptoProfile_PubSub

◆ SOPC_CryptolibContext

◆ SOPC_AsymmetricKey

◆ SOPC_CertificateList

◆ SOPC_CRLList

typedef struct SOPC_CRLList SOPC_CRLList

◆ SOPC_CSR

typedef struct SOPC_CSR SOPC_CSR

◆ SOPC_SerializedAsymmetricKey

A serialized representation of an asymmetric key.

This representation is safe to share across threads.

◆ SOPC_SerializedCertificate

A serialized representation of a certificate in DER format.

This representation is safe to share across threads.

◆ SOPC_SerializedCRL

A serialized representation of a CRL.

This representation is safe to share across threads.