Table of Contents

Class TlsPassword

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

Methods

GetDescription(IntPtr)

Calls native method g_tls_password_get_description. Version: 2.30

[Version("2.30")]
public static extern NonNullableUtf8StringUnownedHandle GetDescription(IntPtr password)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetFlags(IntPtr)

Calls native method g_tls_password_get_flags. Version: 2.30

[Version("2.30")]
public static extern TlsPasswordFlags GetFlags(IntPtr password)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

Returns

TlsPasswordFlags

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_tls_password_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetValue(IntPtr, out nuint)

Calls native method g_tls_password_get_value. Version: 2.30

[Version("2.30")]
public static extern byte[] GetValue(IntPtr password, out nuint length)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

length nuint

Transfer ownership: Full Nullable: False

Returns

byte[]

Transfer ownership: None Nullable: False

GetWarning(IntPtr)

Calls native method g_tls_password_get_warning. Version: 2.30

[Version("2.30")]
public static extern NonNullableUtf8StringUnownedHandle GetWarning(IntPtr password)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

New(TlsPasswordFlags, NonNullableUtf8StringHandle)

Calls native constructor g_tls_password_new.

public static extern IntPtr New(TlsPasswordFlags flags, NonNullableUtf8StringHandle description)

Parameters

flags TlsPasswordFlags

Transfer ownership: None Nullable: False

description NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetDescription(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_tls_password_set_description. Version: 2.30

[Version("2.30")]
public static extern void SetDescription(IntPtr password, NonNullableUtf8StringHandle description)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

description NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetFlags(IntPtr, TlsPasswordFlags)

Calls native method g_tls_password_set_flags. Version: 2.30

[Version("2.30")]
public static extern void SetFlags(IntPtr password, TlsPasswordFlags flags)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

flags TlsPasswordFlags

Transfer ownership: None Nullable: False

SetValue(IntPtr, ref byte, long)

Calls native method g_tls_password_set_value. Version: 2.30

[Version("2.30")]
public static extern void SetValue(IntPtr password, ref byte value, long length)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

value byte

Transfer ownership: None Nullable: False

length long

Transfer ownership: None Nullable: False

SetValueFull(IntPtr, ref byte, long, DestroyNotify)

Calls native method g_tls_password_set_value_full. Version: 2.30

[Version("2.30")]
public static extern void SetValueFull(IntPtr password, ref byte value, long length, DestroyNotify destroy)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

value byte

Transfer ownership: None Nullable: False

length long

Transfer ownership: None Nullable: False

destroy DestroyNotify

Transfer ownership: None Nullable: True

SetWarning(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_tls_password_set_warning. Version: 2.30

[Version("2.30")]
public static extern void SetWarning(IntPtr password, NonNullableUtf8StringHandle warning)

Parameters

password IntPtr

Transfer ownership: None Nullable: False

warning NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False