Table of Contents

Class TlsDatabase

Namespace
Gio
Assembly
Gio-2.0.dll
public class TlsDatabase : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
TlsDatabase
Implements
Inherited Members

Constructors

TlsDatabase(bool, params ConstructArgument[])

protected TlsDatabase(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

TlsDatabase(IntPtr, bool)

protected TlsDatabase(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

CreateCertificateHandle(TlsCertificate)

[Version("2.30")]
public string? CreateCertificateHandle(TlsCertificate certificate)

Parameters

certificate TlsCertificate

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

LookupCertificateForHandle(string, TlsInteraction?, TlsDatabaseLookupFlags, Cancellable?)

[Version("2.30")]
public TlsCertificate? LookupCertificateForHandle(string handle, TlsInteraction? interaction, TlsDatabaseLookupFlags flags, Cancellable? cancellable)

Parameters

handle string
interaction TlsInteraction
flags TlsDatabaseLookupFlags
cancellable Cancellable

Returns

TlsCertificate

LookupCertificateForHandleFinish(AsyncResult)

[Version("2.30")]
public TlsCertificate LookupCertificateForHandleFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

TlsCertificate

LookupCertificateIssuer(TlsCertificate, TlsInteraction?, TlsDatabaseLookupFlags, Cancellable?)

[Version("2.30")]
public TlsCertificate LookupCertificateIssuer(TlsCertificate certificate, TlsInteraction? interaction, TlsDatabaseLookupFlags flags, Cancellable? cancellable)

Parameters

certificate TlsCertificate
interaction TlsInteraction
flags TlsDatabaseLookupFlags
cancellable Cancellable

Returns

TlsCertificate

LookupCertificateIssuerFinish(AsyncResult)

[Version("2.30")]
public TlsCertificate LookupCertificateIssuerFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

TlsCertificate

LookupCertificatesIssuedByFinish(AsyncResult)

[Version("2.30")]
public List LookupCertificatesIssuedByFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

List

VerifyChain(TlsCertificate, string, SocketConnectable?, TlsInteraction?, TlsDatabaseVerifyFlags, Cancellable?)

[Version("2.30")]
public TlsCertificateFlags VerifyChain(TlsCertificate chain, string purpose, SocketConnectable? identity, TlsInteraction? interaction, TlsDatabaseVerifyFlags flags, Cancellable? cancellable)

Parameters

chain TlsCertificate
purpose string
identity SocketConnectable
interaction TlsInteraction
flags TlsDatabaseVerifyFlags
cancellable Cancellable

Returns

TlsCertificateFlags

VerifyChainFinish(AsyncResult)

[Version("2.30")]
public TlsCertificateFlags VerifyChainFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

TlsCertificateFlags