RFID API Documentation  1.0
Reference guide for RFID API
SEC_CONNECTION_INFO Struct Reference

This struct holds additional information for establishing secure connection. More...

Data Fields

BOOLEAN secureMode
 Indicates whether secure connection is required. More...
 
BOOLEAN validatePeerCert
 Validate peer certificate. More...
 
UINT32 sizeCertBuff
 Number of bytes in clientCertBuff parameter. More...
 
BYTEclientCertBuff
 LLRP client's certificate data. More...
 
UINT32 sizeKeyBuff
 Number of bytes in keyBuff parameter. More...
 
BYTEclientKeyBuff
 Client's private key data. More...
 
UINT32 sizePhraseBuff
 Number of bytes in phraseBuff parameter. More...
 
BYTEphraseBuff
 Private key password. More...
 
UINT32 sizeRootCertBuff
 Number of bytes in rootCertBuff parameter. More...
 
BYTErootCertBuff
 Root certificate data. More...
 
ULONG connStatus
 Status of connection. More...
 
LPVOID lpReserved [4]
 Reserved for future. More...
 

Detailed Description

This struct holds additional information for establishing secure connection.

Field Documentation

◆ secureMode

BOOLEAN SEC_CONNECTION_INFO::secureMode

Indicates whether secure connection is required.

Remaining parameters take effect only if secureMode is true

◆ validatePeerCert

BOOLEAN SEC_CONNECTION_INFO::validatePeerCert

Validate peer certificate.

If true, reader certificate is validated against root certificate

◆ sizeCertBuff

UINT32 SEC_CONNECTION_INFO::sizeCertBuff

Number of bytes in clientCertBuff parameter.

◆ clientCertBuff

BYTE* SEC_CONNECTION_INFO::clientCertBuff

LLRP client's certificate data.

Non-null for client certificate authentication

◆ sizeKeyBuff

UINT32 SEC_CONNECTION_INFO::sizeKeyBuff

Number of bytes in keyBuff parameter.

◆ clientKeyBuff

BYTE* SEC_CONNECTION_INFO::clientKeyBuff

Client's private key data.

Non-null for client certificate authentication.

◆ sizePhraseBuff

UINT32 SEC_CONNECTION_INFO::sizePhraseBuff

Number of bytes in phraseBuff parameter.

Zero if key not encrypted

◆ phraseBuff

BYTE* SEC_CONNECTION_INFO::phraseBuff

Private key password.

◆ sizeRootCertBuff

UINT32 SEC_CONNECTION_INFO::sizeRootCertBuff

Number of bytes in rootCertBuff parameter.

◆ rootCertBuff

BYTE* SEC_CONNECTION_INFO::rootCertBuff

Root certificate data.

Non-null for reader certificate validation

◆ connStatus

ULONG SEC_CONNECTION_INFO::connStatus

Status of connection.

Call OpenSSL ERR_reason_error_string(connStatus) for details

◆ lpReserved

LPVOID SEC_CONNECTION_INFO::lpReserved[4]

Reserved for future.