37#ifdef COUCHBASE_ENTERPRISE
110 C4CertUsage certUsages,
C4KeyPair* subjectKey,
124typedef void (*C4CertSigningCallback)(
void* context,
C4Cert* signedCert,
C4Error error);
141 C4CertSigningCallback callback,
void*
C4NULLABLE context,
280 void* externalKey, C4ExternalKeyCallbacks callbacks,
#define NODISCARD
Definition CompilerSupport.h:59
#define CBL_CORE_API
Definition c4Compat.h:134
#define C4NULLABLE
Definition c4Compat.h:38
#define C4API
Definition c4Compat.h:114
#define C4_ASSUME_NONNULL_BEGIN
Definition c4Compat.h:36
#define C4API_END_DECLS
Definition c4Compat.h:116
#define C4API_BEGIN_DECLS
Definition c4Compat.h:115
#define C4_ASSUME_NONNULL_END
Definition c4Compat.h:37
int64_t C4Timestamp
A date/time representation used for document expiration (and in date/time queries....
Definition c4Base.h:96
struct C4KeyPair C4KeyPair
An asymmetric key or key-pair (RSA, etc.) The private key may or may not be present.
Definition c4Base.h:154
struct C4Cert C4Cert
An X.509 certificate, or certificate signing request (CSR).
Definition c4Base.h:123
CBL_CORE_API void c4cert_getValidTimespan(C4Cert *cert, C4Timestamp *outCreated, C4Timestamp *outExpires)
Returns the time range during which a (signed) certificate is valid.
A simple parsed-URL type.
Definition c4ReplicatorTypes.h:56
An error value.
Definition c4Error.h:133
A simple reference to a block of memory.
Definition FLSlice.h:45
A heap-allocated block of memory returned from an API call.
Definition FLSlice.h:63