Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.SaveToFile

TElX509Certificate     See also     


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


Saves the certificate to a file.

Declaration

[C#]
    int SaveToFile(string Filename, string Password, TSBCertFileFormat Format);

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

[Pascal]
    not implemented;

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

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

[Java]
    int saveToFile(String Filename, String Password, TSBCertFileFormat Format);

Parameters

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

Description

    Use this method to save the certificate to a file.

See also:     SaveToStream     SaveToBuffer    

Discuss this help topic in SecureBlackbox Forum