API Reference > Other Classes > OdDbCrypt Class > OdDbCrypt Methods > OdDbCrypt::signData Method
OdDbCrypt::signData Method
Syntax
C++
virtual bool signData(const OdSecurityParams& securityParams, OdBinaryData& signatureBlock) = 0;
Parameters 
Description 
const OdSecurityParams& securityParams 
[in] Certificate and signature settings.  
OdBinaryData& signatureBlock 
[out] Signed hash. 

Returns true if the function succeeds. If the function fails, the return value is false.

Creates a hash of the data blocks appended by appendDataToProcessSignature() method, signs the hash and returns the signed hash (detached signature). 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.