Discuss this help topic in SecureBlackbox Forum

TElPKCS11SessionInfo.AddObject

TElPKCS11SessionInfo     See also     


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


Adds object to the session.

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 ObjectType As TSBPKCS11ObjectType, ByVal Token As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer

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

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

Parameters

  • ObjectType - type of the new object
  • Token - specifies if the new object is a token object
  • Private - specifies if the object is private - specifies if the object is private
  • Modifiable - specifies if the object is modifiable
  • Attributes - contains 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 session.

See also:     Objects     AddGeneratedObject     ClearObjects     GetObject     RefreshObjectList     RemoveObject     UpdateObjectList    

Discuss this help topic in SecureBlackbox Forum