Discuss this help topic in SecureBlackbox Forum

TElFileCertStorage.Add

TElFileCertStorage     See also     


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


Adds the certificate to storage

Declaration

[C#]
    void Add(TElX509Certificate X509Certificate, bool CopyPrivateKey);

[VB.NET]
    Sub Add(ByVal X509Certificate As TElX509Certificate, ByVal CopyPrivateKey As Boolean)

[Pascal]
    procedure Add(X509Certificate: TElX509Certificate; CopyPrivateKey: boolean = true);

[C++]
    void Add(TElX509Certificate &X509Certificate, bool CopyPrivateKey);
    void Add(TElX509Certificate *X509Certificate, bool CopyPrivateKey);

[PHP]
    void Add(TElX509Certificate $X509Certificate, bool $CopyPrivateKey)

[Java]
    void add(TElX509Certificate X509Certificate, boolean CopyPrivateKey);

Parameters

  • X509Certificate - Certificate object, initialized by LoadFromBuffer method
  • CopyPrivateKey - specifies if certificate private key will be also added.
    Default value is True

Description

    Use this method to add certificate to certificate store.

Note, that adding certificate using this method will not change the initial file, specified by FileName property. To save modified file, call SaveToFile method.

See also:     Remove    

Discuss this help topic in SecureBlackbox Forum