C# Класс Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute

Attribute of cryptoki object (CK_ATTRIBUTE alternative)
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ObjectAttribute System

Открытые методы

Метод Описание
Dispose ( ) : void

Disposes object

GetValueAsBool ( ) : bool

Reads value of attribute and returns it as bool

GetValueAsByteArray ( ) : byte[]

Reads value of attribute and returns it as byte array

GetValueAsCkmList ( ) : List

Reads value of attribute and returns it as list of mechanisms

GetValueAsDateTime ( ) : DateTime?

Reads value of attribute and returns it as DateTime

GetValueAsObjectAttributeList ( ) : List

Reads value of attribute and returns it as attribute array (CURRENTLY NOT IMPLEMENTED)

GetValueAsString ( ) : string

Reads value of attribute and returns it as string

GetValueAsUlong ( ) : ulong

Reads value of attribute and returns it as ulong

GetValueAsUlongList ( ) : List

Reads value of attribute and returns it as list of ulongs

ObjectAttribute ( CKA type ) : System

Creates attribute of given type with no value

ObjectAttribute ( CKA type, CKC value ) : System

Creates attribute of given type with CKC value

ObjectAttribute ( CKA type, CKK value ) : System

Creates attribute of given type with CKK value

ObjectAttribute ( CKA type, CKO value ) : System

Creates attribute of given type with CKO value

ObjectAttribute ( CKA type, System.DateTime value ) : System

Creates attribute of given type with DateTime (CK_DATE) value

ObjectAttribute ( CKA type, List value ) : System

Creates attribute of given type with mechanism array value

ObjectAttribute ( CKA type, List value ) : System

Creates attribute of given type with attribute array value

ObjectAttribute ( CKA type, List value ) : System

Creates attribute of given type with ulong array value

ObjectAttribute ( CKA type, bool value ) : System

Creates attribute of given type with bool value

ObjectAttribute ( CKA type, byte value ) : System

Creates attribute of given type with byte array value

ObjectAttribute ( CKA type, string value ) : System

Creates attribute of given type with string value

ObjectAttribute ( CKA type, ulong value ) : System

Creates attribute of given type with ulong value

ObjectAttribute ( ulong type ) : System

Creates attribute of given type with no value

ObjectAttribute ( ulong type, System.DateTime value ) : System

Creates attribute of given type with DateTime (CK_DATE) value

ObjectAttribute ( ulong type, List value ) : System

Creates attribute of given type with mechanism array value

ObjectAttribute ( ulong type, List value ) : System

Creates attribute of given type with attribute array value

ObjectAttribute ( ulong type, List value ) : System

Creates attribute of given type with ulong array value

ObjectAttribute ( ulong type, bool value ) : System

Creates attribute of given type with bool value

ObjectAttribute ( ulong type, byte value ) : System

Creates attribute of given type with byte array value

ObjectAttribute ( ulong type, string value ) : System

Creates attribute of given type with string value

ObjectAttribute ( ulong type, ulong value ) : System

Creates attribute of given type with ulong value

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Disposes object

Приватные методы

Метод Описание
ObjectAttribute ( CK_ATTRIBUTE attribute ) : System

Creates attribute defined by low level CK_ATTRIBUTE structure

Описание методов

Dispose() публичный Метод

Disposes object
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Disposes object
protected Dispose ( bool disposing ) : void
disposing bool Flag indicating whether managed resources should be disposed
Результат void

GetValueAsBool() публичный Метод

Reads value of attribute and returns it as bool
public GetValueAsBool ( ) : bool
Результат bool

GetValueAsByteArray() публичный Метод

Reads value of attribute and returns it as byte array
public GetValueAsByteArray ( ) : byte[]
Результат byte[]

GetValueAsCkmList() публичный Метод

Reads value of attribute and returns it as list of mechanisms
public GetValueAsCkmList ( ) : List
Результат List

GetValueAsDateTime() публичный Метод

Reads value of attribute and returns it as DateTime
public GetValueAsDateTime ( ) : DateTime?
Результат DateTime?

GetValueAsObjectAttributeList() публичный Метод

Reads value of attribute and returns it as attribute array (CURRENTLY NOT IMPLEMENTED)
public GetValueAsObjectAttributeList ( ) : List
Результат List

GetValueAsString() публичный Метод

Reads value of attribute and returns it as string
public GetValueAsString ( ) : string
Результат string

GetValueAsUlong() публичный Метод

Reads value of attribute and returns it as ulong
public GetValueAsUlong ( ) : ulong
Результат ulong

GetValueAsUlongList() публичный Метод

Reads value of attribute and returns it as list of ulongs
public GetValueAsUlongList ( ) : List
Результат List

ObjectAttribute() публичный Метод

Creates attribute of given type with no value
public ObjectAttribute ( CKA type ) : System
type CKA Attribute type
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with CKC value
public ObjectAttribute ( CKA type, CKC value ) : System
type CKA Attribute type
value CKC Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with CKK value
public ObjectAttribute ( CKA type, CKK value ) : System
type CKA Attribute type
value CKK Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with CKO value
public ObjectAttribute ( CKA type, CKO value ) : System
type CKA Attribute type
value CKO Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with DateTime (CK_DATE) value
public ObjectAttribute ( CKA type, System.DateTime value ) : System
type CKA Attribute type
value System.DateTime Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with mechanism array value
public ObjectAttribute ( CKA type, List value ) : System
type CKA Attribute type
value List Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with attribute array value
public ObjectAttribute ( CKA type, List value ) : System
type CKA Attribute type
value List Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with ulong array value
public ObjectAttribute ( CKA type, List value ) : System
type CKA Attribute type
value List Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with bool value
public ObjectAttribute ( CKA type, bool value ) : System
type CKA Attribute type
value bool Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with byte array value
public ObjectAttribute ( CKA type, byte value ) : System
type CKA Attribute type
value byte Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with string value
public ObjectAttribute ( CKA type, string value ) : System
type CKA Attribute type
value string Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with ulong value
public ObjectAttribute ( CKA type, ulong value ) : System
type CKA Attribute type
value ulong Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with no value
public ObjectAttribute ( ulong type ) : System
type ulong Attribute type
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with DateTime (CK_DATE) value
public ObjectAttribute ( ulong type, System.DateTime value ) : System
type ulong Attribute type
value System.DateTime Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with mechanism array value
public ObjectAttribute ( ulong type, List value ) : System
type ulong Attribute type
value List Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with attribute array value
public ObjectAttribute ( ulong type, List value ) : System
type ulong Attribute type
value List Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with ulong array value
public ObjectAttribute ( ulong type, List value ) : System
type ulong Attribute type
value List Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with bool value
public ObjectAttribute ( ulong type, bool value ) : System
type ulong Attribute type
value bool Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with byte array value
public ObjectAttribute ( ulong type, byte value ) : System
type ulong Attribute type
value byte Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with string value
public ObjectAttribute ( ulong type, string value ) : System
type ulong Attribute type
value string Attribute value
Результат System

ObjectAttribute() публичный Метод

Creates attribute of given type with ulong value
public ObjectAttribute ( ulong type, ulong value ) : System
type ulong Attribute type
value ulong Attribute value
Результат System