Discuss this help topic in SecureBlackbox Forum

TElCustomCertStorage.Add

TElCustomCertStorage     See also     


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


Adds the certificate to the storage

Declaration

[C#/Java]
    void Add(TElX509Certificate Certificate, bool CopyPrivateKey);

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

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

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

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

Parameters

  • Certificate - Certificate object, initialized by LoadFromBuffer method
  • CopyPrivateKey - True - private key will be copied when certifiate is added.
    False - private key will not be copied.

Description

    Use this method in derived classes to add certificate to store. The certificate is copied to the storage and original certificate can be disposed of if necessary.

See also:     Clear     Remove    

Discuss this help topic in SecureBlackbox Forum