Discuss this help topic in SecureBlackbox Forum

TElPGPCustomSecretKey.ImportKeyMaterial

TElPGPCustomSecretKey     See also     


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


Imports a key from the low-level key material.

Declaration

[C#]
    void ImportKeyMaterial(TElPublicKeyMaterial KeyMaterial);
    void ImportKeyMaterial(TElPublicKeyMaterial SecKeyMaterial, TElPublicKeyMaterial PubKeyMaterial);
    void ImportKeyMaterial(TElPublicKeyMaterial KeyMaterial, DateTime Timestamp, int KeyVersion, int Expires);
    void ImportKeyMaterial(TElPublicKeyMaterial SecKeyMaterial, TElPublicKeyMaterial PubKeyMaterial, DateTime Timestamp, int KeyVersion, int Expires);

[VB.NET]
    Sub ImportKeyMaterial(ByVal KeyMaterial As TElPublicKeyMaterial)
    Sub ImportKeyMaterial(ByVal SecKeyMaterial As TElPublicKeyMaterial, ByVal PubKeyMaterial As TElPublicKeyMaterial)
    Sub ImportKeyMaterial(ByVal KeyMaterial As TElPublicKeyMaterial, ByVal Timestamp As DateTime, ByVal KeyVersion As Integer, ByVal Expires As Integer)
    Sub ImportKeyMaterial(ByVal SecKeyMaterial As TElPublicKeyMaterial, ByVal PubKeyMaterial As TElPublicKeyMaterial, ByVal Timestamp As DateTime, ByVal KeyVersion As Integer, ByVal Expires As Integer)

[Pascal]
    procedure ImportKeyMaterial(KeyMaterial : TElPublicKeyMaterial);
    procedure ImportKeyMaterial(SecKeyMaterial : TElPublicKeyMaterial; PubKeyMaterial : TElPublicKeyMaterial);
    procedure ImportKeyMaterial(KeyMaterial : TElPublicKeyMaterial; Timestamp : TDateTime; KeyVersion : integer; Expires : integer);
    procedure ImportKeyMaterial(SecKeyMaterial : TElPublicKeyMaterial; PubKeyMaterial : TElPublicKeyMaterial; Timestamp : TDateTime; KeyVersion : integer; Expires : integer);

[C++]
    void ImportKeyMaterial(TElPublicKeyMaterial &KeyMaterial);
    void ImportKeyMaterial(TElPublicKeyMaterial *KeyMaterial);
    void ImportKeyMaterial(TElPublicKeyMaterial &SecKeyMaterial, TElPublicKeyMaterial &PubKeyMaterial);
    void ImportKeyMaterial(TElPublicKeyMaterial *SecKeyMaterial, TElPublicKeyMaterial *PubKeyMaterial);
    void ImportKeyMaterial(TElPublicKeyMaterial &KeyMaterial, int64_t Timestamp, int32_t KeyVersion, int32_t Expires);
    void ImportKeyMaterial(TElPublicKeyMaterial *KeyMaterial, int64_t Timestamp, int32_t KeyVersion, int32_t Expires);
    void ImportKeyMaterial(TElPublicKeyMaterial &SecKeyMaterial, TElPublicKeyMaterial &PubKeyMaterial, int64_t Timestamp, int32_t KeyVersion, int32_t Expires);
    void ImportKeyMaterial(TElPublicKeyMaterial *SecKeyMaterial, TElPublicKeyMaterial *PubKeyMaterial, int64_t Timestamp, int32_t KeyVersion, int32_t Expires);

[PHP]
    void ImportKeyMaterial(TElPublicKeyMaterial $KeyMaterial)
    void ImportKeyMaterial(TElPublicKeyMaterial $SecKeyMaterial, TElPublicKeyMaterial $PubKeyMaterial)
    void ImportKeyMaterial(TElPublicKeyMaterial $KeyMaterial, DateTime $Timestamp, integer $KeyVersion, integer $Expires)
    void ImportKeyMaterial(TElPublicKeyMaterial $SecKeyMaterial, TElPublicKeyMaterial $PubKeyMaterial, DateTime $Timestamp, integer $KeyVersion, integer $Expires)

[Java]
    void importKeyMaterial(TElPublicKeyMaterial KeyMaterial, Date Timestamp, int KeyVersion, int Expires);
    void importKeyMaterial(TElPublicKeyMaterial SecKeyMaterial, TElPublicKeyMaterial PubKeyMaterial);
    void importKeyMaterial(TElPublicKeyMaterial KeyMaterial);
    void importKeyMaterial(TElPublicKeyMaterial SecKeyMaterial, TElPublicKeyMaterial PubKeyMaterial, Date Timestamp, int KeyVersion, int Expires);

Parameters

  • KeyMaterial - key material from each the key should be imported
  • SecKeyMaterial - key material from each the secret key should be imported
  • PubKeyMaterial - key material from each the public key should be imported
  • Timestamp - key generation date and time
  • KeyVersion - key version
  • Expires - number of dates since the key generation, after which it expires. Setting this parameter to 0 (zero) means the key never expires.

Description

    Use this method to import a key from the low-level key material.

See also:     ExportKeyMaterial    

Discuss this help topic in SecureBlackbox Forum