Del via


Applibs certstore.h

Header: #include <applibs/certstore.h>

The Applibs certstore header contains functions and types that install and manage certificates on a device.

Application manifest requirements

An app can call these functions only if the CertStore capability is enabled in the application manifest.

Thread safety

These functions are not thread safe.

Concepts and samples

Functions

Function Description
CertStore_DeleteCertificate Deletes a certificate.
CertStore_GetAvailableSpace Gets the available space on the device for certificate storage, in bytes.
CertStore_GetCertificateCount Gets the number of certificates installed on the device.
CertStore_GetCertificateIdentifierAt Gets the ID of the certificate at the specified index.
CertStore_GetCertificateIssuerName Gets the name of the certificate issuer.
CertStore_GetCertificateNotAfter Gets the time at which the certificate expires.
CertStore_GetCertificateNotBefore Gets the time at which the certificate becomes valid for use.
CertStore_GetCertificateSubjectName Gets the subject name from a certificate.
CertStore_InstallClientCertificate Installs a client certificate on the Azure Sphere device.
CertStore_InstallRootCACertificate Installs a Root CA certificate on the Azure Sphere device.
CertStore_MoveCertificate Renames a certificate.

Structs

Struct Description
CertStore_Identifier The ID of a certificate.
CertStore_IssuerName The issuer name for a certificate.
CertStore_SubjectName The subject name for a certificate.