Pkcs11Interop  5.1.2
Public Member Functions | Properties | List of all members
Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute Interface Reference

Attribute of cryptoki object (CK_ATTRIBUTE alternative) More...

Inherits IDisposable.

Inherited by Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.

Public Member Functions

object ToMarshalableStructure ()
 Returns managed object corresponding to CK_ATTRIBUTE structure that can be marshaled to an unmanaged block of memory More...
 
ulong GetValueAsUlong ()
 Reads value of attribute and returns it as ulong More...
 
bool GetValueAsBool ()
 Reads value of attribute and returns it as bool More...
 
string GetValueAsString ()
 Reads value of attribute and returns it as string More...
 
byte [] GetValueAsByteArray ()
 Reads value of attribute and returns it as byte array More...
 
DateTime GetValueAsDateTime ()
 Reads value of attribute and returns it as DateTime More...
 
List< IObjectAttributeGetValueAsObjectAttributeList ()
 Reads value of attribute and returns it as attribute array More...
 
List< ulong > GetValueAsULongList ()
 Reads value of attribute and returns it as list of ulongs More...
 
List< CKMGetValueAsCkmList ()
 Reads value of attribute and returns it as list of mechanisms More...
 

Properties

ulong Type [get]
 Attribute type More...
 
bool CannotBeRead [get]
 Flag indicating whether attribute value cannot be read either because object is sensitive or unextractable or because specified attribute for the object is invalid. More...
 

Detailed Description

Attribute of cryptoki object (CK_ATTRIBUTE alternative)

Member Function Documentation

◆ GetValueAsBool()

bool Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsBool ( )

◆ GetValueAsByteArray()

byte [] Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsByteArray ( )

◆ GetValueAsCkmList()

List<CKM> Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsCkmList ( )

◆ GetValueAsDateTime()

DateTime Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsDateTime ( )

◆ GetValueAsObjectAttributeList()

List<IObjectAttribute> Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsObjectAttributeList ( )

◆ GetValueAsString()

string Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsString ( )

◆ GetValueAsUlong()

ulong Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsUlong ( )

◆ GetValueAsULongList()

List<ulong> Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsULongList ( )

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.ToMarshalableStructure ( )

Returns managed object corresponding to CK_ATTRIBUTE structure that can be marshaled to an unmanaged block of memory

Returns
A managed object holding the data to be marshaled. This object must be an instance of a formatted class.

Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.

Property Documentation

◆ CannotBeRead

bool Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.CannotBeRead
get

Flag indicating whether attribute value cannot be read either because object is sensitive or unextractable or because specified attribute for the object is invalid.

◆ Type

ulong Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.Type
get

Attribute type


The documentation for this interface was generated from the following file: