SDK Version 2.0.1
AnsuR Technologies ASMIRA SDK
Loading...
Searching...
No Matches
asdk::certificate_t Struct Reference

A server certificate, as filled in by sdk_t::RequestCertificate. More...

#include <asmirasdk.h>

Public Attributes

int len
 Length of data in bytes.
const char * data { nullptr }
 Certificate data.

Detailed Description

A server certificate, as filled in by sdk_t::RequestCertificate.

The data is owned by the SDK and stays valid only until the next call, so copy it before using it with sdk_t::ConnectSecured.

Examples
example_complete.cpp.

Definition at line 804 of file asmirasdk.h.

Member Data Documentation

◆ len

int asdk::certificate_t::len

Length of data in bytes.

Definition at line 805 of file asmirasdk.h.

◆ data

const char* asdk::certificate_t::data { nullptr }

Certificate data.

Temporary storage owned by the SDK.

Examples
example_complete.cpp.

Definition at line 806 of file asmirasdk.h.


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