S2OPC OPCUA Toolkit
Functions
pki_permissive.h File Reference

This PKIProvider does not verify certificates. More...

#include "sopc_pki.h"

Go to the source code of this file.

Functions

SOPC_ReturnStatus SOPC_PKIPermissive_Create (SOPC_PKIProvider **ppPKI)
 Creates a PKI Provider without security. More...
 

Detailed Description

This PKIProvider does not verify certificates.

Function Documentation

◆ SOPC_PKIPermissive_Create()

SOPC_ReturnStatus SOPC_PKIPermissive_Create ( SOPC_PKIProvider **  ppPKI)

Creates a PKI Provider without security.

The PKI should be freed with SOPC_PKIProvider_Free().

Warning
Using this PKI is considered harmful for the security of the connection.
Returns
SOPC_STATUS_OK when successful, SOPC_STATUS_INVALID_PARAMETERS when parameters are NULL, and SOPC_STATUS_NOK when there was an error.