Discuss this help topic in SecureBlackbox Forum

TElPKCS11AttributeList.Insert

TElPKCS11AttributeList     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Inserts attribute to the list.

Declaration

[C#/Java]
    void Insert(int Index);
    void Insert(int Index, uint Attribute, byte[] Value);
    void Insert(int Index, uint Attribute, uint Value);
    void Insert(int Index, uint Attribute, bool Value);

[VB.NET]
    Sub Insert(ByVal Index As Integer)
    Sub Insert(ByVal Index As Integer, ByVal Attribute As UInt32, ByVal Value As Byte())
    Sub Insert(ByVal Index As Integer, ByVal Attribute As UInt32, ByVal Value As UInt32)
    Sub Insert(ByVal Index As Integer, ByVal Attribute As UInt32, ByVal Value As Boolean)

[Pascal]
    procedure Insert(Index: integer);
    procedure Insert(Index: integer; Attribute: Cardinal; const Value: ByteArray);
    procedure Insert(Index: integer; Attribute: Cardinal; Value: Cardinal);
    procedure Insert(Index: integer; Attribute: Cardinal; Value: boolean);

[C++]
    void Insert(int32_t Index);
    void Insert(int32_t Index, uint32_t Attribute, const std::vector<uint8_t> &Value);
    void Insert(int32_t Index, uint32_t Attribute, uint32_t Value);
    void Insert(int32_t Index, uint32_t Attribute, bool Value);

[PHP]
    void Insert(integer $Index)
    void Insert(integer $Index, integer $Attribute, array of byte|string|NULL $Value)
    void Insert(integer $Index, integer $Attribute, integer $Value)
    void Insert(integer $Index, integer $Attribute, bool $Value)

Parameters

  • Index - Position in the list where the attribute should be inserted. The first item has Index=0, the second has Index=1 and so on.
  • Attribute - PKCS#11 attribute code
  • Value - Value which should be assigned to the attribute

Attribute codes:


Description

    Use this method to add an attribute to the list. Use an appropriate overload of this method depending of the data type of the attribute. Attribute codes and corresponding data types are described in PKCS #11: Cryptographic Token Interface Standard.

See also:     Attributes     Values     Remove    

Discuss this help topic in SecureBlackbox Forum