LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
Certificates

Certificate and CSR Functions

CBL_CORE_API void c4cert_getValidTimespan (C4Cert *cert, C4Timestamp *outCreated, C4Timestamp *outExpires)
 Returns the time range during which a (signed) certificate is valid.
 

Detailed Description

Function Documentation

◆ c4cert_getValidTimespan()

CBL_CORE_API void c4cert_getValidTimespan ( C4Cert cert,
C4Timestamp outCreated,
C4Timestamp outExpires 
)

Returns the time range during which a (signed) certificate is valid.

Parameters
certThe signed certificate.
outCreatedOn return, the date/time the cert became valid (was signed).
outExpiresOn return, the date/time at which the certificate expires.