Discuss this help topic in SecureBlackbox Forum

TElPKCS11SessionInfo.CopyObject

TElPKCS11SessionInfo     See also     


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


Creates a copy of session object.

Declaration

[C#]
    int CopyObject(int Index, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList Attributes);
    int CopyObject(TElPKCS11Object Obj, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList Attributes);

[VB.NET]
    Function CopyObject(ByVal Index As Integer, ByVal Token As Boolean, ByVal Private As Boolean, ByVal Modifiable As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer
    Function CopyObject(ByVal Obj As TElPKCS11Object, ByVal Token As Boolean, ByVal Private As Boolean, ByVal Modifiable As Boolean, ByVal Attributes As TElPKCS11AttributeList) As Integer

[Pascal]
    function CopyObject(Index : integer; Token, Private, Modifiable : boolean; Attributes : TElPKCS11AttributeList) : integer;
    function CopyObject(Obj : TElPKCS11ManagerObject; Token, Private, Modifiable : boolean; Attributes : TElPKCS11AttributeList) : integer;

[C++]
    int32_t CopyObject(int32_t Index, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList &Attributes);
    int32_t CopyObject(int32_t Index, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList *Attributes);
    int32_t CopyObject(TElPKCS11Object &Obj, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList &Attributes);
    int32_t CopyObject(TElPKCS11Object *Obj, bool Token, bool Private, bool Modifiable, TElPKCS11AttributeList *Attributes);

[PHP]
    integer CopyObject(integer $Index, bool $Token, bool $Private, bool $Modifiable, TElPKCS11AttributeList $Attributes)
    integer CopyObject(TElPKCS11Object $Obj, bool $Token, bool $Private, bool $Modifiable, TElPKCS11AttributeList $Attributes)

[Java]
    int copyObject(int Index, boolean Token, boolean Private, boolean Modifiable, TElPKCS11AttributeList Attributes);
    int copyObject(TElPKCS11Object Obj, boolean Token, boolean Private, boolean Modifiable, TElPKCS11AttributeList Attributes);

Parameters

  • Index - index of the object to be copied in the list
  • Obj - the object to be copied
  • Token - specifies if the object is a token object
  • Private - specifies if the object is private
  • Modifiable - specifies if the object is modifiable
  • Attributes - contains object attributes

Return value

    Index of the newly created copy in the list.

Description

    Use this method to copy an object and add it to the list.

See also:     Objects     AddObject     ClearObjects     GetObject     RemoveObject    

Discuss this help topic in SecureBlackbox Forum