Table of Contents

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

constructArguments ConstructArgument[]

TlsPassword(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TlsPassword(CreationData data)

Parameters

data CreationData

TlsPassword(TlsPasswordHandle)

protected TlsPassword(TlsPasswordHandle handle)

Parameters

handle TlsPasswordHandle

Fields

DescriptionPropertyDefinition

public static readonly Property<string?, TlsPassword> DescriptionPropertyDefinition

Field Value

Property<string, TlsPassword>

FlagsPropertyDefinition

public static readonly Property<TlsPasswordFlags, TlsPassword> FlagsPropertyDefinition

Field Value

Property<TlsPasswordFlags, TlsPassword>

WarningPropertyDefinition

public static readonly Property<string?, TlsPassword> WarningPropertyDefinition

Field Value

Property<string, TlsPassword>

Properties

Description

public string? Description { get; set; }

Property Value

string

Flags

public TlsPasswordFlags Flags { get; set; }

Property Value

TlsPasswordFlags

Warning

public string? Warning { get; set; }

Property Value

string

Methods

GetDescription()

[Version("2.30")]
public string GetDescription()

Returns

string

GetFlags()

[Version("2.30")]
public TlsPasswordFlags GetFlags()

Returns

TlsPasswordFlags

GetGType()

public static Type GetGType()

Returns

Type

GetWarning()

[Version("2.30")]
public string GetWarning()

Returns

string

New(TlsPasswordFlags, string)

public static TlsPassword New(TlsPasswordFlags flags, string description)

Parameters

flags TlsPasswordFlags
description string

Returns

TlsPassword

NewFromPointer(nint, bool)

Creates a new managed TlsPassword instance for a given pointer.

public static TlsPassword NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

TlsPassword

NewWithProperties(ConstructArgument[])

Creates a new TlsPassword and sets the properties specified by the construct arguments.

public static TlsPassword NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

TlsPassword

SetDescription(string)

[Version("2.30")]
public void SetDescription(string description)

Parameters

description string

SetFlags(TlsPasswordFlags)

[Version("2.30")]
public void SetFlags(TlsPasswordFlags flags)

Parameters

flags TlsPasswordFlags

SetValue(Span<byte>)

[Version("2.30")]
public void SetValue(Span<byte> value)

Parameters

value Span<byte>

SetWarning(string)

[Version("2.30")]
public void SetWarning(string warning)

Parameters

warning string