CFx SDK Documentation 2024 SP0
|
#include <OdDwfxSignatureHandler.h>
Public Types | |
enum | SignatureValidationResult { kSuccess = 0 , kInvalidSignature , kCertificateChainProblem , kNotSigned } |
Public Member Functions | |
virtual | ~OdDwfxSignatureHandler () |
virtual void | setCertParameters (const OdCertParameters &certParams)=0 |
virtual bool | signPackage (const OdString &filePath)=0 |
virtual bool | removeExistingSignature (const OdString &filePath)=0 |
virtual bool | validatePackageSignature (const OdString &filePath, SignatureValidationResult &validationResult, OdCertParameters &certParams)=0 |
<group OdDbRoot_Classes> This class is the interface class for the DWFx signature handler object.
Definition at line 55 of file OdDwfxSignatureHandler.h.
Enumerator | |
---|---|
kSuccess | |
kInvalidSignature | |
kCertificateChainProblem | |
kNotSigned |
Definition at line 64 of file OdDwfxSignatureHandler.h.
|
inlinevirtual |
Destructor for the OdDwfxSignatureHandler class.
Definition at line 62 of file OdDwfxSignatureHandler.h.
|
pure virtual |
Method to remove existing signature of the package.
filePath | [in] Full path to the package. |
|
pure virtual |
Method to set the certificate for signing the DWFx package.
certParams | [in] Certificate description data. |
|
pure virtual |
Method to sign the DWFx package.
filePath | [in] Full path to the package. |
|
pure virtual |
Method to validate signature.
filePath | [in] Full path to the package. |
validationResult | [out] The result of signature validation if method succeeds. |
certParams | [out] Description data of the certificate if obtained one during the validation. |