C# Class Net.Pkcs11Interop.HighLevelAPI.ObjectAttribute

Attribute of cryptoki object (CK_ATTRIBUTE alternative)
Inheritance: IDisposable
Afficher le fichier Open project: Pkcs11Interop/Pkcs11Interop

Private Properties

Свойство Type Description
ConvertFromHighLevelAPI40List List
ConvertFromHighLevelAPI41List List
ConvertFromHighLevelAPI80List List
ConvertFromHighLevelAPI81List List
ConvertToHighLevelAPI40List List
ConvertToHighLevelAPI41List List
ConvertToHighLevelAPI80List List
ConvertToHighLevelAPI81List List
ObjectAttribute System
ObjectAttribute System
ObjectAttribute System
ObjectAttribute System

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes object

Private Methods

Méthode Description
ConvertFromHighLevelAPI40List ( List hlaAttributes ) : List

Converts platform specific ObjectAttributes to platfrom neutral ObjectAttributes

ConvertFromHighLevelAPI41List ( List hlaAttributes ) : List

Converts platform specific ObjectAttributes to platfrom neutral ObjectAttributes

ConvertFromHighLevelAPI80List ( List hlaAttributes ) : List

Converts platform specific ObjectAttributes to platfrom neutral ObjectAttributes

ConvertFromHighLevelAPI81List ( List hlaAttributes ) : List

Converts platform specific ObjectAttributes to platfrom neutral ObjectAttributes

ConvertToHighLevelAPI40List ( List attributes ) : List

Converts platfrom neutral ObjectAttributes to platform specific ObjectAttributes

ConvertToHighLevelAPI41List ( List attributes ) : List

Converts platfrom neutral ObjectAttributes to platform specific ObjectAttributes

ConvertToHighLevelAPI80List ( List attributes ) : List

Converts platfrom neutral ObjectAttributes to platform specific ObjectAttributes

ConvertToHighLevelAPI81List ( List attributes ) : List

Converts platfrom neutral ObjectAttributes to platform specific ObjectAttributes

ObjectAttribute ( HighLevelAPI40 objectAttribute ) : System

Converts platform specific ObjectAttribute to platfrom neutral ObjectAttribute

ObjectAttribute ( HighLevelAPI41 objectAttribute ) : System

Converts platform specific ObjectAttribute to platfrom neutral ObjectAttribute

ObjectAttribute ( HighLevelAPI80 objectAttribute ) : System

Converts platform specific ObjectAttribute to platfrom neutral ObjectAttribute

ObjectAttribute ( HighLevelAPI81 objectAttribute ) : System

Converts platform specific ObjectAttribute to platfrom neutral ObjectAttribute

Method Details

Dispose() public méthode

Disposes object
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Disposes object
protected Dispose ( bool disposing ) : void
disposing bool Flag indicating whether managed resources should be disposed
Résultat void

GetValueAsBool() public méthode

Reads value of attribute and returns it as bool
public GetValueAsBool ( ) : bool
Résultat bool

GetValueAsByteArray() public méthode

Reads value of attribute and returns it as byte array
public GetValueAsByteArray ( ) : byte[]
Résultat byte[]

GetValueAsCkmList() public méthode

Reads value of attribute and returns it as list of mechanisms
public GetValueAsCkmList ( ) : List
Résultat List

GetValueAsDateTime() public méthode

Reads value of attribute and returns it as DateTime
public GetValueAsDateTime ( ) : DateTime?
Résultat DateTime?

GetValueAsObjectAttributeList() public méthode

Reads value of attribute and returns it as attribute array (CURRENTLY NOT IMPLEMENTED)
public GetValueAsObjectAttributeList ( ) : List
Résultat List

GetValueAsString() public méthode

Reads value of attribute and returns it as string
public GetValueAsString ( ) : string
Résultat string

GetValueAsUlong() public méthode

Reads value of attribute and returns it as ulong
public GetValueAsUlong ( ) : ulong
Résultat ulong

GetValueAsUlongList() public méthode

Reads value of attribute and returns it as list of ulongs
public GetValueAsUlongList ( ) : List
Résultat List

ObjectAttribute() public méthode

Creates attribute of given type with no value
public ObjectAttribute ( CKA type ) : System
type CKA Attribute type
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with CKC value
public ObjectAttribute ( CKA type, CKC value ) : System
type CKA Attribute type
value CKC Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with CKK value
public ObjectAttribute ( CKA type, CKK value ) : System
type CKA Attribute type
value CKK Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with CKO value
public ObjectAttribute ( CKA type, CKO value ) : System
type CKA Attribute type
value CKO Attribute value
Résultat System

ObjectAttribute() public méthode

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
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with mechanism array value
public ObjectAttribute ( CKA type, List value ) : System
type CKA Attribute type
value List Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with attribute array value
public ObjectAttribute ( CKA type, List value ) : System
type CKA Attribute type
value List Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with ulong array value
public ObjectAttribute ( CKA type, List value ) : System
type CKA Attribute type
value List Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with bool value
public ObjectAttribute ( CKA type, bool value ) : System
type CKA Attribute type
value bool Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with byte array value
public ObjectAttribute ( CKA type, byte value ) : System
type CKA Attribute type
value byte Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with string value
public ObjectAttribute ( CKA type, string value ) : System
type CKA Attribute type
value string Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with ulong value
public ObjectAttribute ( CKA type, ulong value ) : System
type CKA Attribute type
value ulong Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with no value
public ObjectAttribute ( ulong type ) : System
type ulong Attribute type
Résultat System

ObjectAttribute() public méthode

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
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with mechanism array value
public ObjectAttribute ( ulong type, List value ) : System
type ulong Attribute type
value List Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with attribute array value
public ObjectAttribute ( ulong type, List value ) : System
type ulong Attribute type
value List Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with ulong array value
public ObjectAttribute ( ulong type, List value ) : System
type ulong Attribute type
value List Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with bool value
public ObjectAttribute ( ulong type, bool value ) : System
type ulong Attribute type
value bool Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with byte array value
public ObjectAttribute ( ulong type, byte value ) : System
type ulong Attribute type
value byte Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with string value
public ObjectAttribute ( ulong type, string value ) : System
type ulong Attribute type
value string Attribute value
Résultat System

ObjectAttribute() public méthode

Creates attribute of given type with ulong value
public ObjectAttribute ( ulong type, ulong value ) : System
type ulong Attribute type
value ulong Attribute value
Résultat System