Table of Contents

Class TlsDatabase

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class TlsDatabase
Inheritance
TlsDatabase
Inherited Members

Methods

CreateCertificateHandle(IntPtr, IntPtr)

Calls native method g_tls_database_create_certificate_handle. Version: 2.30

[Version("2.30")]
public static extern NullableUtf8StringOwnedHandle CreateCertificateHandle(IntPtr self, IntPtr certificate)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

certificate IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

GetGType()

Calls native function g_tls_database_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

LookupCertificateForHandle(IntPtr, NonNullableUtf8StringHandle, IntPtr, TlsDatabaseLookupFlags, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_lookup_certificate_for_handle. Version: 2.30

[Version("2.30")]
public static extern IntPtr LookupCertificateForHandle(IntPtr self, NonNullableUtf8StringHandle handle, IntPtr interaction, TlsDatabaseLookupFlags flags, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

handle NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseLookupFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: True

LookupCertificateForHandleAsync(IntPtr, NonNullableUtf8StringHandle, IntPtr, TlsDatabaseLookupFlags, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_tls_database_lookup_certificate_for_handle_async. Version: 2.30

[Version("2.30")]
public static extern void LookupCertificateForHandleAsync(IntPtr self, NonNullableUtf8StringHandle handle, IntPtr interaction, TlsDatabaseLookupFlags flags, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

handle NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseLookupFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

LookupCertificateForHandleFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_lookup_certificate_for_handle_finish. Version: 2.30

[Version("2.30")]
public static extern IntPtr LookupCertificateForHandleFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

LookupCertificateIssuer(IntPtr, IntPtr, IntPtr, TlsDatabaseLookupFlags, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_lookup_certificate_issuer. Version: 2.30

[Version("2.30")]
public static extern IntPtr LookupCertificateIssuer(IntPtr self, IntPtr certificate, IntPtr interaction, TlsDatabaseLookupFlags flags, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

certificate IntPtr

Transfer ownership: None Nullable: False

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseLookupFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

LookupCertificateIssuerAsync(IntPtr, IntPtr, IntPtr, TlsDatabaseLookupFlags, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_tls_database_lookup_certificate_issuer_async. Version: 2.30

[Version("2.30")]
public static extern void LookupCertificateIssuerAsync(IntPtr self, IntPtr certificate, IntPtr interaction, TlsDatabaseLookupFlags flags, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

certificate IntPtr

Transfer ownership: None Nullable: False

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseLookupFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

LookupCertificateIssuerFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_lookup_certificate_issuer_finish. Version: 2.30

[Version("2.30")]
public static extern IntPtr LookupCertificateIssuerFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

LookupCertificatesIssuedBy(IntPtr, byte[], IntPtr, TlsDatabaseLookupFlags, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_lookup_certificates_issued_by. Version: 2.30

[Version("2.30")]
public static extern ListOwnedHandle LookupCertificatesIssuedBy(IntPtr self, byte[] issuerRawDn, IntPtr interaction, TlsDatabaseLookupFlags flags, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

issuerRawDn byte[]

Transfer ownership: None Nullable: False

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseLookupFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

LookupCertificatesIssuedByAsync(IntPtr, byte[], IntPtr, TlsDatabaseLookupFlags, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_tls_database_lookup_certificates_issued_by_async. Version: 2.30

[Version("2.30")]
public static extern void LookupCertificatesIssuedByAsync(IntPtr self, byte[] issuerRawDn, IntPtr interaction, TlsDatabaseLookupFlags flags, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

issuerRawDn byte[]

Transfer ownership: None Nullable: False

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseLookupFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

LookupCertificatesIssuedByFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_lookup_certificates_issued_by_finish. Version: 2.30

[Version("2.30")]
public static extern ListOwnedHandle LookupCertificatesIssuedByFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

VerifyChain(IntPtr, IntPtr, NonNullableUtf8StringHandle, IntPtr, IntPtr, TlsDatabaseVerifyFlags, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_verify_chain. Version: 2.30

[Version("2.30")]
public static extern TlsCertificateFlags VerifyChain(IntPtr self, IntPtr chain, NonNullableUtf8StringHandle purpose, IntPtr identity, IntPtr interaction, TlsDatabaseVerifyFlags flags, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

chain IntPtr

Transfer ownership: None Nullable: False

purpose NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

identity IntPtr

Transfer ownership: None Nullable: True

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseVerifyFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

TlsCertificateFlags

Transfer ownership: None Nullable: False

VerifyChainAsync(IntPtr, IntPtr, NonNullableUtf8StringHandle, IntPtr, IntPtr, TlsDatabaseVerifyFlags, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_tls_database_verify_chain_async. Version: 2.30

[Version("2.30")]
public static extern void VerifyChainAsync(IntPtr self, IntPtr chain, NonNullableUtf8StringHandle purpose, IntPtr identity, IntPtr interaction, TlsDatabaseVerifyFlags flags, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

chain IntPtr

Transfer ownership: None Nullable: False

purpose NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

identity IntPtr

Transfer ownership: None Nullable: True

interaction IntPtr

Transfer ownership: None Nullable: True

flags TlsDatabaseVerifyFlags

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

VerifyChainFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_tls_database_verify_chain_finish. Version: 2.30

[Version("2.30")]
public static extern TlsCertificateFlags VerifyChainFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

TlsCertificateFlags

Transfer ownership: None Nullable: False