Class TlsPassword
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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
length
nuintTransfer 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
IntPtrTransfer 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
TlsPasswordFlagsTransfer ownership: None Nullable: False
description
NonNullableUtf8StringHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
description
NonNullableUtf8StringHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
flags
TlsPasswordFlagsTransfer 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
IntPtrTransfer ownership: None Nullable: False
value
byteTransfer ownership: None Nullable: False
length
longTransfer 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
IntPtrTransfer ownership: None Nullable: False
value
byteTransfer ownership: None Nullable: False
length
longTransfer ownership: None Nullable: False
destroy
DestroyNotifyTransfer 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
IntPtrTransfer ownership: None Nullable: False
warning
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False