CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
26 #ifndef _ODCRYPTOSERVICES_H__458F3BE0_8868_489B_B1D1_B1102D86667D__INCLUDED_
27 #define _ODCRYPTOSERVICES_H__458F3BE0_8868_489B_B1D1_B1102D86667D__INCLUDED_
virtual bool encryptData(OdUInt8 *buffer, OdUInt32 bufferSize)=0
OdString m_CertLongSubject
virtual OdCryptSignMessageParaPtr newCryptSignMessagePara(const OdCertificateObjectPtr &pCertObj, const OdArray< OdCryptAttribPtr > &unauthAttribs)=0
@ kCertificateChainProblem
OdSharedPtr< OdCryptSignMessagePara > OdCryptSignMessageParaPtr
OdSignatureVerificationResult
virtual OdUInt32 getPersonalCertsWithTrustedStatus(OdArray< OdCertificateDescription > &certificates) const =0
virtual OdCryptAttribPtr newCryptAttrib(const OdString &objId, const OdArray< OdBinaryData > &values)=0
virtual bool isTrusted() const =0
OdCertificateDescription m_certDesc
OdSmartPtr< OdCryptoServices > OdCryptoServicesPtr
virtual bool initSessionKeyToEncryptData(const OdString &password, OdUInt32 nProvType, const OdString &provName, OdUInt32 nAlgId, OdUInt32 nKeyLength)=0
virtual OdString getObjId() const =0
virtual OdCertificateObjectPtr getCertObjByShortDesc(const OdCertificateShortDesc &certShortDesc) const =0
virtual void verifyDetachedSignature(const OdLinkedArray< OdBinaryData > &message, const OdBinaryData &signature, OdSignatureVerificationResult &verificationResult)=0
virtual ~OdCertificateObject()
virtual bool generateDetachedSignature(const OdCryptSignMessageParaPtr &pSignPara, const OdLinkedArray< OdBinaryData > &message, OdBinaryData &signature)=0
virtual bool decryptData(OdUInt8 *buffer, OdUInt32 bufferSize)=0
virtual ~OdCryptSignMessagePara()
virtual OdCertificateObjectPtr getCertFromDetachedSignature(const OdBinaryData &signature)=0
OdSharedPtr< OdCertificateObject > OdCertificateObjectPtr
virtual void getValues(OdArray< OdBinaryData > &values) const =0
ODRX_DECLARE_MEMBERS(OdCryptoServices)
OdSharedPtr< OdCryptAttrib > OdCryptAttribPtr
virtual ~OdSignatureBaseDescription()
virtual void getUnauthAttribsFromDetachedSignature(const OdBinaryData &signature, OdArray< OdCryptAttribPtr > &unauthAttribs)=0
virtual void resetSessionKeyToEncryptData()=0
virtual OdCertificateDescription getCertDescription() const =0