Class TlsPassword
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class TlsPassword : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
TlsPassword
- Implements
- Inherited Members
Constructors
TlsPassword(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public TlsPassword(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
TlsPassword(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TlsPassword(CreationData data)
Parameters
dataCreationData
TlsPassword(TlsPasswordHandle)
protected TlsPassword(TlsPasswordHandle handle)
Parameters
handleTlsPasswordHandle
Fields
DescriptionPropertyDefinition
public static readonly Property<string?, TlsPassword> DescriptionPropertyDefinition
Field Value
FlagsPropertyDefinition
public static readonly Property<TlsPasswordFlags, TlsPassword> FlagsPropertyDefinition
Field Value
WarningPropertyDefinition
public static readonly Property<string?, TlsPassword> WarningPropertyDefinition
Field Value
Properties
Description
public string? Description { get; set; }
Property Value
Flags
public TlsPasswordFlags Flags { get; set; }
Property Value
Warning
public string? Warning { get; set; }
Property Value
Methods
GetDescription()
[Version("2.30")]
public string GetDescription()
Returns
GetFlags()
[Version("2.30")]
public TlsPasswordFlags GetFlags()
Returns
GetGType()
public static Type GetGType()
Returns
GetWarning()
[Version("2.30")]
public string GetWarning()
Returns
New(TlsPasswordFlags, string)
public static TlsPassword New(TlsPasswordFlags flags, string description)
Parameters
flagsTlsPasswordFlagsdescriptionstring
Returns
NewFromPointer(nint, bool)
Creates a new managed TlsPassword instance for a given pointer.
public static TlsPassword NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new TlsPassword and sets the properties specified by the construct arguments.
public static TlsPassword NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetDescription(string)
[Version("2.30")]
public void SetDescription(string description)
Parameters
descriptionstring
SetFlags(TlsPasswordFlags)
[Version("2.30")]
public void SetFlags(TlsPasswordFlags flags)
Parameters
flagsTlsPasswordFlags
SetValue(Span<byte>)
[Version("2.30")]
public void SetValue(Span<byte> value)
Parameters
SetWarning(string)
[Version("2.30")]
public void SetWarning(string warning)
Parameters
warningstring