EldoS
Navigation
Web site
Support
Table Of Contents

ElAuthenticodeSigner class

Methods     Events     Declared in     Licensing    


 

This class is used to sign EXE and DLL files with certificates.

 
 

Description

    This class is designed for EXE-files signing.
    To sign the file you should perform the following sequence of operations:

  1. Create ElAuthenticodeSigner class instance.
  2. Call OpenFile method and check result. If this method returned value other than SB_AUTHENTICODE_ERROR_SUCCESS process the error and go to the step of file closing.
  3. Call AddAuthenticode method. If it returned False go to the step of file closing.
  4. Call AddSignature and AddCertificate methods as many times as is necessary in arbitrary sequence checking each time returned value for error.
  5. If you want to save the signature(s) to the file call CloseFile(True) method. If you don't want to save changes to the file call CloseFile(False) or Clear method.
  6. Repeat previous 4 steps for all files which must be signed.
  7. Destroy ElAuthenticodeSigner class instance.
 
 

Methods

  • Constructor
  • Destructor
  • AddAuthenticode
  • AddCertificate
  • AddSignature
  • Clear
  • CloseFile
  • OpenFile
  • OpenStream
 
 

Events

  • OnTimestampNeeded
 
 

Declared in

.NET:

  • Namespace: SBAuthenticode
  • Assembly: SecureBlackbox.PKI


VCL:
  • Unit: SBAuthenticode
ActiveX/DLL: not available;
 
 

Licensing

To use the component in development and distribution of your projects, you need to purchase one of the licenses:

.NET: PKIBlackbox, SecureBlackbox Data Security, SecureBlackbox Transports, SecureBlackbox Standard, SecureBlackbox Professional

VCL: PKIBlackbox, SecureBlackbox Data Security, SecureBlackbox Transports, SecureBlackbox Standard, SecureBlackbox Professional

ActiveX/DLL: Not available

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