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