S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
SOPC_PKI_LeafProfile Struct Reference

Structure containing the leaf certificate profile for validation with SOPC_PKIProvider_ValidateCertificate or with SOPC_PKIProvider_CheckLeafCertificate . More...

#include <sopc_pki_struct_lib_internal.h>

Data Fields

SOPC_PKI_MdSign mdSign
 
SOPC_PKI_PkAlgo pkAlgo
 
uint32_t RSAMinimumKeySize
 
uint32_t RSAMaximumKeySize
 
bool bApplySecurityPolicy
 
SOPC_PKI_KeyUsage_Mask keyUsage
 
SOPC_PKI_ExtendedKeyUsage_Mask extendedKeyUsage
 
char * sanApplicationUri
 
char * sanURL
 

Detailed Description

Structure containing the leaf certificate profile for validation with SOPC_PKIProvider_ValidateCertificate or with SOPC_PKIProvider_CheckLeafCertificate .

Field Documentation

◆ mdSign

SOPC_PKI_MdSign SOPC_PKI_LeafProfile::mdSign

The message digest algorithm of the signature algorithm allowed.

◆ pkAlgo

SOPC_PKI_PkAlgo SOPC_PKI_LeafProfile::pkAlgo

The Public Key algorithm allowed.

◆ RSAMinimumKeySize

uint32_t SOPC_PKI_LeafProfile::RSAMinimumKeySize

The minimum RSA key size allowed.

◆ RSAMaximumKeySize

uint32_t SOPC_PKI_LeafProfile::RSAMaximumKeySize

The maximum RSA key size allowed.

◆ bApplySecurityPolicy

bool SOPC_PKI_LeafProfile::bApplySecurityPolicy

Defines if mdSign, pkAlgo, RSAMinimumKeySize and RSAMaximumKeySize should be checked.

◆ keyUsage

SOPC_PKI_KeyUsage_Mask SOPC_PKI_LeafProfile::keyUsage

Defines the key usages mask of the certificates to validate.

◆ extendedKeyUsage

SOPC_PKI_ExtendedKeyUsage_Mask SOPC_PKI_LeafProfile::extendedKeyUsage

Defines the extended key usages mask of the certificates to validate.

◆ sanApplicationUri

char* SOPC_PKI_LeafProfile::sanApplicationUri

The application URI to check in the subjectAltName field. If NULL is set then the URI is not checked.

◆ sanURL

char* SOPC_PKI_LeafProfile::sanURL

The endpoint URL used for connection to check the HostName in the subjectAltName field. If NULL is set then the HostName is not checked.


The documentation for this struct was generated from the following file: