KVM_SetClientCertificate

This function sets information that is necessary for establish TLS mutual authentication, and it should be called before establishing a TLS - Mutual Authentication session.

Function Header

int KVM_SetClientCertificate(

  char* common_name,

);

Function Parameters

Field

Input/Output

Value or Description

common_name

Input

A NULL terminated string specifying the Subject:CN string of the desired client certificate. The client certificate with the required OIDs should be installed in the “MY” store. If there more than one client certificate with the same Subject:CN the library chooses the first appropriate certificate its subject matches the common_name string.

If this parameter is empty string, the library chooses the first certificate with the appropriate OIDs. (See Secure Session Support).

Function Return Status

Status

Value or Description

0

The command finished successfully.

 

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.