Discuss this help topic in SecureBlackbox Forum

TElPKCS11CertStorage.CopyObject

TElPKCS11CertStorage     See also     


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


Copies objects in the storage.

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 As 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(TElPKCS11Object Obj, boolean Token, boolean Private, boolean Modifiable, TElPKCS11AttributeList Attributes);
    int copyObject(int Index, 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 - Object attributes

Return value

    Index of the newly created object copy in the list.

Description

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

See also:     Objects     AddObject     RemoveObject     ClearObjects    

Discuss this help topic in SecureBlackbox Forum