Pkcs11Interop
5.1.2
|
Utility class that helps to manage CK_ATTRIBUTE structure More...
Static Public Member Functions | |
static CK_ATTRIBUTE | CreateAttribute (CKA type) |
Creates attribute of given type with no value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type) |
Creates attribute of given type with no value More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, NativeULong value) |
Creates attribute of given type with NativeULong value More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, CKC value) |
Creates attribute of given type with CKC value More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, CKK value) |
Creates attribute of given type with CKK value More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, CKO value) |
Creates attribute of given type with CKO value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, NativeULong value) |
Creates attribute of given type with NativeULong value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out NativeULong value) |
Reads value of attribute and returns it as NativeULong More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, bool value) |
Creates attribute of given type with bool value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, bool value) |
Creates attribute of given type with bool value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out bool value) |
Reads value of attribute and returns it as bool More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, string value) |
Creates attribute of given type with string value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, string value) |
Creates attribute of given type with string value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out string value) |
Reads value of attribute and returns it as string More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, byte[] value) |
Creates attribute of given type with byte array value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, byte[] value) |
Creates attribute of given type with byte array value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out byte[] value) |
Reads value of attribute and returns it as byte array More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, DateTime value) |
Creates attribute of given type with DateTime (CK_DATE) value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, DateTime value) |
Creates attribute of given type with DateTime (CK_DATE) value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out DateTime? value) |
Reads value of attribute and returns it as DateTime (CK_DATE) More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, CK_ATTRIBUTE[] value) |
Creates attribute of given type with attribute array value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, CK_ATTRIBUTE[] value) |
Creates attribute of given type with attribute array value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out CK_ATTRIBUTE[] value) |
Reads value of attribute and returns it as attribute array More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, NativeULong[] value) |
Creates attribute of given type with NativeULong array value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, NativeULong[] value) |
Creates attribute of given type with NativeULong array value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out NativeULong[] value) |
Reads value of attribute and returns it as NativeULong array More... | |
static CK_ATTRIBUTE | CreateAttribute (CKA type, CKM[] value) |
Creates attribute of given type with mechanism array value More... | |
static CK_ATTRIBUTE | CreateAttribute (NativeULong type, CKM[] value) |
Creates attribute of given type with mechanism array value More... | |
static void | ConvertValue (ref CK_ATTRIBUTE attribute, out CKM[] value) |
Reads value of attribute and returns it as mechanism array More... | |
Utility class that helps to manage CK_ATTRIBUTE structure
|
static |
Reads value of attribute and returns it as NativeULong
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Reads value of attribute and returns it as bool
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Reads value of attribute and returns it as string
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Reads value of attribute and returns it as byte array
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Reads value of attribute and returns it as DateTime (CK_DATE)
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Reads value of attribute and returns it as attribute array
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Reads value of attribute and returns it as NativeULong array
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Reads value of attribute and returns it as mechanism array
attribute | Attribute whose value should be read |
value | Location that receives attribute value |
|
static |
Creates attribute of given type with no value
type | Attribute type |
|
static |
Creates attribute of given type with no value
type | Attribute type |
|
static |
Creates attribute of given type with NativeULong value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with CKC value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with CKK value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with CKO value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with NativeULong value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with bool value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with bool value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with string value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with string value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with byte array value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with byte array value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with DateTime (CK_DATE) value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with DateTime (CK_DATE) value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with attribute array value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with attribute array value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with NativeULong array value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with NativeULong array value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with mechanism array value
type | Attribute type |
value | Attribute value |
|
static |
Creates attribute of given type with mechanism array value
type | Attribute type |
value | Attribute value |