Table of Contents

Class Item

Namespace
Secret
Assembly
Secret-1.dll
public class Item : DBusProxy, AsyncInitable, DBusInterface, Initable, Retrievable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
Item
Implements
Inherited Members

Constructors

Item(params ConstructArgument[])

public Item(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Item(ItemHandle)

public Item(ItemHandle handle)

Parameters

handle ItemHandle

Fields

FlagsPropertyDefinition

public static readonly Property<ItemFlags, Item> FlagsPropertyDefinition

Field Value

Property<ItemFlags, Item>

LockedPropertyDefinition

public static readonly Property<bool, Item> LockedPropertyDefinition

Field Value

Property<bool, Item>

ServicePropertyDefinition

public static readonly Property<Service?, Item> ServicePropertyDefinition

Field Value

Property<Service, Item>

Properties

Attributes

public HashTable Attributes { get; set; }

Property Value

HashTable

Created

public ulong Created { get; set; }

Property Value

ulong

Flags

public ItemFlags Flags { get; }

Property Value

ItemFlags

Label

public string? Label { get; set; }

Property Value

string

Locked

public bool Locked { get; }

Property Value

bool

Modified

public ulong Modified { get; set; }

Property Value

ulong

Service

public Service? Service { get; }

Property Value

Service

Methods

CreateFinish(AsyncResult)

public static Item CreateFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Item

CreateSync(Collection, Schema?, HashTable, string, Value, ItemCreateFlags, Cancellable?)

public static Item CreateSync(Collection collection, Schema? schema, HashTable attributes, string label, Value value, ItemCreateFlags flags, Cancellable? cancellable)

Parameters

collection Collection
schema Schema
attributes HashTable
label string
value Value
flags ItemCreateFlags
cancellable Cancellable

Returns

Item

DeleteFinish(AsyncResult)

public bool DeleteFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

DeleteSync(Cancellable?)

public bool DeleteSync(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

DupObject()

[Version("2.32")]
public DBusObject? DupObject()

Returns

DBusObject

GetAttributes()

public HashTable GetAttributes()

Returns

HashTable

GetCreated()

public ulong GetCreated()

Returns

ulong

GetFlags()

public ItemFlags GetFlags()

Returns

ItemFlags

GetGType()

public static Type GetGType()

Returns

Type

GetLabel()

public string GetLabel()

Returns

string

GetLocked()

public bool GetLocked()

Returns

bool

GetModified()

public ulong GetModified()

Returns

ulong

GetObject()

[Version("2.30")]
public DBusObject? GetObject()

Returns

DBusObject

GetSchemaName()

public string? GetSchemaName()

Returns

string

GetSecret()

public Value? GetSecret()

Returns

Value

GetService()

public Service GetService()

Returns

Service

Init(Cancellable?)

[Version("2.22")]
public bool Init(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

InitFinish(AsyncResult)

[Version("2.22")]
public bool InitFinish(AsyncResult res)

Parameters

res AsyncResult

Returns

bool

LoadSecretFinish(AsyncResult)

public bool LoadSecretFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

LoadSecretSync(Cancellable?)

public bool LoadSecretSync(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

LoadSecretsFinish(AsyncResult)

public static bool LoadSecretsFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

LoadSecretsSync(List, Cancellable?)

public static bool LoadSecretsSync(List items, Cancellable? cancellable)

Parameters

items List
cancellable Cancellable

Returns

bool

NewForDbusPathFinish(AsyncResult)

public static Item NewForDbusPathFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Item

NewForDbusPathSync(Service?, string, ItemFlags, Cancellable?)

public static Item NewForDbusPathSync(Service? service, string itemPath, ItemFlags flags, Cancellable? cancellable)

Parameters

service Service
itemPath string
flags ItemFlags
cancellable Cancellable

Returns

Item

Refresh()

public void Refresh()

RetrieveSecretFinish(AsyncResult)

[Version("0.19.0")]
public Value? RetrieveSecretFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Value

RetrieveSecretSync(Cancellable?)

[Version("0.19.0")]
public Value? RetrieveSecretSync(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

Value

SetAttributesFinish(AsyncResult)

public bool SetAttributesFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

SetAttributesSync(Schema?, HashTable, Cancellable?)

public bool SetAttributesSync(Schema? schema, HashTable attributes, Cancellable? cancellable)

Parameters

schema Schema
attributes HashTable
cancellable Cancellable

Returns

bool

SetLabelFinish(AsyncResult)

public bool SetLabelFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

SetLabelSync(string, Cancellable?)

public bool SetLabelSync(string label, Cancellable? cancellable)

Parameters

label string
cancellable Cancellable

Returns

bool

SetObject(DBusObject?)

[Version("2.30")]
public void SetObject(DBusObject? @object)

Parameters

object DBusObject

SetSecretFinish(AsyncResult)

public bool SetSecretFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

SetSecretSync(Value, Cancellable?)

public bool SetSecretSync(Value value, Cancellable? cancellable)

Parameters

value Value
cancellable Cancellable

Returns

bool