Pkcs11Interop
5.1.2
|
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< IObjectAttribute > | GetValueAsObjectAttributeList () |
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< CKM > | GetValueAsCkmList () |
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... | |
Attribute of cryptoki object (CK_ATTRIBUTE alternative)
bool Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsBool | ( | ) |
Reads value of attribute and returns it as bool
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
byte [] Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsByteArray | ( | ) |
Reads value of attribute and returns it as byte array
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
List<CKM> Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsCkmList | ( | ) |
Reads value of attribute and returns it as list of mechanisms
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
DateTime Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsDateTime | ( | ) |
Reads value of attribute and returns it as DateTime
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
List<IObjectAttribute> Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsObjectAttributeList | ( | ) |
Reads value of attribute and returns it as attribute array
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
string Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsString | ( | ) |
Reads value of attribute and returns it as string
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
ulong Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsUlong | ( | ) |
Reads value of attribute and returns it as ulong
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
List<ulong> Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.GetValueAsULongList | ( | ) |
Reads value of attribute and returns it as list of ulongs
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
object Net.Pkcs11Interop.HighLevelAPI.IObjectAttribute.ToMarshalableStructure | ( | ) |
Returns managed object corresponding to CK_ATTRIBUTE structure that can be marshaled to an unmanaged block of memory
Implemented in Net.Pkcs11Interop.HighLevelAPI40.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI41.ObjectAttribute, Net.Pkcs11Interop.HighLevelAPI80.ObjectAttribute, and Net.Pkcs11Interop.HighLevelAPI81.ObjectAttribute.
|
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.
|
get |
Attribute type