EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPKCS11CertStorage.Add

TElPKCS11CertStorage     See also    


 

Adds the certificate to storage

 
 

Declaration

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

[VB.NET]
    Sub Add(ByVal X509Certificate As TElX509Certificate, ByVal CopyPrivateKey As Boolean = True)
    Sub Add(ByVal SessionIndex As Integer, ByVal X509Certificate As TElX509Certificate, ByVal CopyPrivateKey As Boolean = true, ByVal Exportable As Boolean = False)

[Pascal]
    procedure Add(X509Certificate: TElX509Certificate; CopyPrivateKey: boolean = true);
    procedure Add(SessionIndex : integer; X509Certificate: TElX509Certificate; CopyPrivateKey: boolean = true; Exportable : boolean = false);

[VB6]
    Sub IElPKCS11CertStorageX.Add(SessionIndex As Long, Certificate As IElCertificateX2, CopyPrivateKey As Boolean, Exportable As Boolean);

[ActiveX]
    HRESULT _stdcall IElPKCS11CertStorageX.Add([in] long SessionIndex, [in] IElCertificateX2 * Certificate, [in] VARIANT_BOOL CopyPrivateKey, [in] VARIANT_BOOL Exportable );

[DLL]
    not implemented;
 
 

Parameters

  • Certificate - Certificate object
  • CopyPrivateKey - specifies if certificate private key will be also added.
    Default value is True
  • SessionIndex - index of the session in the list.
  • Exportable - True - private key will be marked as exportable.
    False - private key will not be marked as exportable.
 
 

Description

    Use this method to add certificate to certificate store.

 
 

See also:     Remove    

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