EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElFileCertStorage.Add

TElFileCertStorage     See also    


 

Adds the certificate to storage

 
 

Declaration

[C#]
    void Add(TElX509Certificate X509Certificate, bool CopyPrivateKey /* = true */);

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

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

[VB6]
    Sub IElCustomCertStorageX2.Add(Certificate As IElCertificateX2)

[ActiveX]
    HRESULT _stdcall IElCustomCertStorageX2.Add([in] IElCertificateX2 * Certificate );

[DLL]
    __stdcall BOOL SBFileCertStorageAdd(HANDLE hStorage, HANDLE hCert);
 
 

Parameters

  • Certificate - Certificate object, initialized by LoadFromBuffer method
  • CopyPrivateKey - specifies if certificate private key will be also added.
    Default value is True
  • [DLL]hStorage - handle to the TElFileCertStorage object that was returned by Constructor
  • [DLL]certHandle - handle to the TElX509Certificate object that was returned by Constructor
 
 

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    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation