Discuss this help topic in SecureBlackbox Forum
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:
- Create TElAuthenticodeSigner class instance.
- 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.
- Call AddAuthenticode method. If it returned False go to the step of file closing.
- Call AddSignature and AddCertificate
methods as many times as is necessary in arbitrary sequence checking each time returned value for error.
- 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.
- Repeat previous 4 steps for all files which must be signed.
- Destroy TElAuthenticodeSigner class instance.
Methods
Events
Declared in
.NET:
- Namespace: SBAuthenticode
- Assembly: SecureBlackbox.PKI
VCL:Java:
- Package: SecureBlackbox.PKI.jar
C++:
Licensing
To use this class in the development and distribution of your software projects, you need to purchase one of the following licenses:
PKIBlackbox, SecureBlackbox Data Security, SecureBlackbox Transports, SecureBlackbox Standard, SecureBlackbox Professional
Discuss this help topic in SecureBlackbox Forum