Function
Dextls_database_verify_chain
unstable since: 1.2
Declaration [src]
DexFuture*
dex_tls_database_verify_chain (
GTlsDatabase* database,
GTlsCertificate* chain,
const char* purpose,
GSocketConnectable* identity,
GTlsInteraction* interaction,
GTlsDatabaseVerifyFlags flags
)
Parameters
database-
Type:
GTlsDatabaseA
GTlsDatabase.The data is owned by the caller of the function. chain-
Type:
GTlsCertificateThe data is owned by the caller of the function. purpose-
Type:
const char*Certificate purpose.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. identity-
Type:
GSocketConnectableExpected peer identity, or
NULL.The argument can be NULL.The data is owned by the caller of the function. interaction-
Type:
GTlsInteractionA
GTlsInteraction, orNULL.The argument can be NULL.The data is owned by the caller of the function. flags-
Type:
GTlsDatabaseVerifyFlagsVerification flags.
Return value
Type: DexFuture
A DexFuture that resolves to
GTlsCertificateFlags or rejects with error.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |