Discuss this help topic in SecureBlackbox Forum

TElSSHPKCS11KeyStorage.Add

TElSSHPKCS11KeyStorage     See also     


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


Adds a key to storage.

Declaration

[C#]
    void Add(TElSSHKey Key);
    void Add(int SessionIndex, TElSSHKey Key, bool CopyPrivateKey, bool Exportable, byte[] ID, byte[] KeyLabel);

[VB.NET]
    Sub Add(ByVal Key As TElSSHKey)
    Sub Add(ByVal SessionIndex As Integer, ByVal Key As TElSSHKey, ByVal CopyPrivateKey As Boolean, ByVal Exportable As Boolean, ByVal ID As Byte(), ByVal KeyLabel As Byte())

[Pascal]
    procedure Add(Key : TElSSHKey);
    procedure Add(SessionIndex : integer; Key : TElSSHKey; CopyPrivateKey: boolean; Exportable : boolean; const ID : ByteArray; const KeyLabel : ByteArray);

[C++]
    void Add(TElSSHKey &Key);
    void Add(TElSSHKey *Key);
    void Add(int32_t SessionIndex, TElSSHKey &Key, bool CopyPrivateKey, bool Exportable, const std::vector<uint8_t> &ID, const std::vector<uint8_t> &KeyLabel);
    void Add(int32_t SessionIndex, TElSSHKey *Key, bool CopyPrivateKey, bool Exportable, const std::vector<uint8_t> &ID, const std::vector<uint8_t> &KeyLabel);

[PHP]
    void Add(TElSSHKey $Key)
    void Add(integer $SessionIndex, TElSSHKey $Key, bool $CopyPrivateKey, bool $Exportable, array of byte|string|NULL $ID, array of byte|string|NULL $KeyLabel)

[Java]
    not available

Parameters

  • SessionIndex - index of the session in the list.
  • Key - Key to be added
  • CopyPrivateKey - specifies if private key part will also be added. Default value is True
  • Exportable - set this parameter to True to mark private key as exportable.
  • ID - Key unique identifier
  • KeyLabel - Key label

Description

    Use this method to add a new key to SSH PKCS#11 key store.

See also:     Remove    

Discuss this help topic in SecureBlackbox Forum