GNSS_SUPL_CERT_CONFIG structure (gnssdriver.h)

This structure contains SUPL certificate information.

Syntax

typedef struct {
  ULONG                 Size;
  ULONG                 Version;
  GNSS_SUPL_CERT_ACTION CertAction;
  CHAR                  SuplCertName[MAX_PATH];
  ULONG                 CertSize;
  BYTE                  Unused[512];
  BYTE                  CertData[ANYSIZE_ARRAY];
} GNSS_SUPL_CERT_CONFIG, *PGNSS_SUPL_CERT_CONFIG;

Members

Size

Structure size.

Version

Version number.

CertAction

A GNSS_SUPL_CERT_ACTION enumeration value that specifies the action to take on the certificate.

Action Description
GNSS_SUPL_CERT_INJECT Inject the certificate.
GNSS_SUPL_CERT_DELETE Delete the certificate specified by SuplCertName. The values of CertSize and CertData are ignored.
GNSS_SUPL_CERT_PURGE Delete all the certificates injected to the GNSS driver previously. The values of SuplCertName , CertSize, and CertData are ignored.

SuplCertName[MAX_PATH]

String containing the certificate name.

CertSize

The size of the certificate in bytes.

Unused[512]

Padding buffer.

CertData[ANYSIZE_ARRAY]

The binary content of the certificate. The total size of the bytes is defined by CertSize. The certificate is Base64 encoded.

Requirements

Requirement Value
Header gnssdriver.h