|
Couchbase Lite C
Couchbase Lite C API
|
#include "CBLBase.h"Go to the source code of this file.
Data Structures | |
| struct | CBLExternalKeyCallbacks |
| Callbacks for performing cryptographic operations with an externally managed key pair. More... | |
TLS Identity | |
| enum | CBLKeyUsages : uint16_t { kCBLKeyUsagesClientAuth = 0x80 , kCBLKeyUsagesServerAuth = 0x40 } |
| Defines key usage options for creating self-signed TLS identities. More... | |
| typedef struct CBLTLSIdentity | CBLTLSIdentity |
| An opaque object representing the TLSIdentity. More... | |
| static const CBLTLSIdentity * | CBLTLSIdentity_Retain (const CBLTLSIdentity *t) |
| static void | CBLTLSIdentity_Release (const CBLTLSIdentity *t) |
| _cbl_warn_unused CBLCert * | CBLTLSIdentity_Certificates (CBLTLSIdentity *identity) |
| Returns the certificate chain associated with the given TLS identity. More... | |
| CBLTimestamp | CBLTLSIdentity_Expiration (CBLTLSIdentity *identity) |
| Returns the date/time at which the first certificate in the chain expires. More... | |
| _cbl_warn_unused CBLTLSIdentity *_cbl_nullable | CBLTLSIdentity_CreateIdentity (CBLKeyUsages keyUsages, FLDict attributes, int64_t validityInMilliseconds, FLString label, CBLError *_cbl_nullable outError) |
| Creates a self-signed TLS identity using the specified certificate attributes. More... | |
| _cbl_warn_unused CBLTLSIdentity *_cbl_nullable | CBLTLSIdentity_CreateIdentityWithKeyPair (CBLKeyUsages keyUsages, CBLKeyPair *keypair, FLDict attributes, int64_t validityInMilliseconds, CBLError *_cbl_nullable outError) |
| Creates a self-signed TLS identity using the provided RSA key pair and certificate attributes. More... | |
| bool | CBLTLSIdentity_DeleteIdentityWithLabel (FLString label, CBLError *_cbl_nullable outError) |
| Deletes the TLS identity associated with the given persistent label from the platform's keystore (Keychain on Apple platforms or CNG Key Storage Provider on Windows). More... | |
| _cbl_warn_unused CBLTLSIdentity *_cbl_nullable | CBLTLSIdentity_IdentityWithLabel (FLString label, CBLError *_cbl_nullable outError) |
| Retrieves a TLS identity associated with the given persistent label from the platform's keystore (Keychain on Apple platforms or CNG Key Storage Provider on Windows). More... | |
| _cbl_warn_unused CBLTLSIdentity *_cbl_nullable | CBLTLSIdentity_IdentityWithKeyPairAndCerts (CBLKeyPair *keypair, CBLCert *cert, CBLError *_cbl_nullable outError) |
| Returns a TLS identity from an existing identity using the provided RSA keypair and certificate chain. More... | |
| _cbl_warn_unused CBLTLSIdentity *_cbl_nullable | CBLTLSIdentity_IdentityWithCerts (CBLCert *cert, CBLError *_cbl_nullable outError) |
| Returns an existing TLS identity associated with the provided certificate chain in the keystore (Keychain for Apple or CNG Key Storage Provider for Windows). More... | |