Class TlsDatabase
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
IntPtrTransfer ownership: None Nullable: False
certificate
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
handle
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseLookupFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
handle
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseLookupFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
certificate
IntPtrTransfer ownership: None Nullable: False
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseLookupFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
certificate
IntPtrTransfer ownership: None Nullable: False
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseLookupFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
issuerRawDn
byte[]Transfer ownership: None Nullable: False
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseLookupFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
issuerRawDn
byte[]Transfer ownership: None Nullable: False
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseLookupFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
chain
IntPtrTransfer ownership: None Nullable: False
purpose
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
identity
IntPtrTransfer ownership: None Nullable: True
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseVerifyFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
chain
IntPtrTransfer ownership: None Nullable: False
purpose
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
identity
IntPtrTransfer ownership: None Nullable: True
interaction
IntPtrTransfer ownership: None Nullable: True
flags
TlsDatabaseVerifyFlagsTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- TlsCertificateFlags
Transfer ownership: None Nullable: False