Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.SaveKeyToFile

TElX509Certificate     See also     


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


Saves the certificate's private key to file.

Declaration

[C#]
    int SaveKeyToFile(string Filename, string Password, TSBX509KeyFileFormat Format);

[VB.NET]
    Function SaveKeyToFile(ByVal Filename As String, ByVal Password As String, ByVal Format As TSBX509KeyFileFormat) As Integer

[Pascal]
    not implemented;

[C++]
    int32_t SaveKeyToFile(const std::string &Filename, const std::string &Password, TSBX509KeyFileFormat Format);

[PHP]
    integer SaveKeyToFile(string $Filename, string $Password, integer $Format)

[Java]
    int saveKeyToFile(String Filename, String Password, TSBX509KeyFileFormat Format);

Parameters

  • Filename - name of the file containing certificate
  • Password - password to access the certificate
  • Format - format in which the certificate should be saved

Possible file formats:

Description

    Use this method to save the key to a file.

Discuss this help topic in SecureBlackbox Forum