Discuss this help topic in SecureBlackbox Forum

TElPKCS11CertStorage.AddObject

TElPKCS11CertStorage     See also     


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


Adds objects to the storage.

Declaration

[VB.NET]
    Function AddObject(ByVal ObjectType As TSBPKCS11ObjectType, ByVal Token As Boolean, ByVal Private As Boolean, ByVal Modifiable As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer
    Function AddObject(ByVal SessionIndex As Integer, ByVal ObjectType As TSBPKCS11ObjectType, ByVal Token As Boolean, ByVal Private As Boolean, ByVal Modifiable As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer

[Pascal]
    function AddObject(SessionIndex: integer; ObjectType: TSBPKCS11ObjectType; Token, Private, Modifiable: boolean; Attributes: TElPKCS11AttributeList): integer;
    function AddObject(ObjectType: TSBPKCS11ObjectType; Token, Private, Modifiable: boolean; Attributes: TElPKCS11AttributeList): integer;

[C++]
    int32_t AddObject(TSBPKCS11ObjectType ObjectType, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList &Attributes);
    int32_t AddObject(TSBPKCS11ObjectType ObjectType, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList *Attributes);
    int32_t AddObject(int32_t SessionIndex, TSBPKCS11ObjectType ObjectType, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList &Attributes);
    int32_t AddObject(int32_t SessionIndex, TSBPKCS11ObjectType ObjectType, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList *Attributes);

[PHP]
    integer AddObject(integer $ObjectType, bool $Token, bool $Private, bool $Modifiable, TElPKCS11AttributeList $Attributes)
    integer AddObject(integer $SessionIndex, integer $ObjectType, bool $Token, bool $Private, bool $Modifiable, TElPKCS11AttributeList $Attributes)

[Java]
    int addObject(TSBPKCS11ObjectType ObjectType, boolean Token, boolean Private, boolean Modifiable, TElPKCS11AttributeList Attributes);
    int addObject(int SessionIndex, TSBPKCS11ObjectType ObjectType, boolean Token, boolean Private, boolean Modifiable, TElPKCS11AttributeList Attributes);

Parameters

  • SessionIndex - index of the session in the list
  • ObjectType - Specifies type of the object
  • Token - Specifies, if the object is a token object
  • Private - Specifies, if the object is private
  • Modifiable - Specifies, if the object is modifiable
  • Attributes - Object attributes

Possible object types:

Return value

    Index of the newly added object in the list.

Description

    Use this method to add an object to the storage.

See also:     Objects     RemoveObject     ClearObjects    

Discuss this help topic in SecureBlackbox Forum