verifyChain

open fun verifyChain(chain: TlsCertificate, purpose: String, identity: SocketConnectable? = null, interaction: TlsInteraction? = null, flags: TlsDatabaseVerifyFlags, cancellable: Cancellable? = null): <Error class: unknown class><TlsCertificateFlags>

Determines the validity of a certificate chain, outside the context of a TLS session.

Return

the appropriate #GTlsCertificateFlags which represents the result of verification.

Since

2.30

Parameters

chain

a #GTlsCertificate 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 #GCancellable, or null