nn::http::CertStore::RegisterCert Member Function

Syntax

nn::Result RegisterCert(
     const u8 * pCertData,
     size_t certDataSize,
     CertId * pCertIdCourier = NULL
);

Arguments

Name Description
in pCertData Certificate data. The data format is X.509 v3 certificate data (ASN.1 definition) that has been DER-encoded to binary data.
in certDataSize Size of pCertData.
out pCertIdCourier Used when unregistering a specific individual certificate by its ID (using the UnRegisterCert function). If this argument is not needed (such as when there is no need to unregister individual certificates; releasing a CertStore object unregisters all of its certificates at once), this can be left unspecified.

Return Values

Returns the result of the operation.

Description

Registers a certificate. Call this function multiple times to register multiple certificates.


CONFIDENTIAL