verify_chain_async


Description:

public virtual async TlsCertificateFlags verify_chain_async (TlsCertificate chain, string purpose, SocketConnectable? identity, TlsInteraction? interaction, TlsDatabaseVerifyFlags flags, Cancellable? cancellable = null) throws Error

Asynchronously determines the validity of a certificate chain after looking up and adding any missing certificates to the chain.

See verify_chain for more information.

Parameters:

this

a TlsDatabase

chain

a TlsCertificate chain

purpose

the purpose that this certificate chain will be used for.

identity

the expected peer identity

interaction

used to interact with the user if necessary

flags

additional verify flags

cancellable

a Cancellable, or null

callback

callback to call when the operation completes

user_data

the data to pass to the callback function




2022 vala-language.org