#include <OdCryptoServices.h>
|
| ODRX_DECLARE_MEMBERS (OdCryptoServices) |
|
virtual OdUInt32 | getPersonalCertsWithTrustedStatus (OdArray< OdCertificateDescription > &certificates) const =0 |
|
virtual OdCertificateObjectPtr | getCertObjByShortDesc (const OdCertificateShortDesc &certShortDesc) const =0 |
|
virtual OdCryptAttribPtr | newCryptAttrib (const OdString &objId, const OdArray< OdBinaryData > &values)=0 |
|
virtual OdCryptSignMessageParaPtr | newCryptSignMessagePara (const OdCertificateObjectPtr &pCertObj, const OdArray< OdCryptAttribPtr > &unauthAttribs)=0 |
|
virtual bool | generateDetachedSignature (const OdCryptSignMessageParaPtr &pSignPara, const OdLinkedArray< OdBinaryData > &message, OdBinaryData &signature)=0 |
|
virtual void | verifyDetachedSignature (const OdLinkedArray< OdBinaryData > &message, const OdBinaryData &signature, OdSignatureVerificationResult &verificationResult)=0 |
|
virtual OdCertificateObjectPtr | getCertFromDetachedSignature (const OdBinaryData &signature)=0 |
|
virtual void | getUnauthAttribsFromDetachedSignature (const OdBinaryData &signature, OdArray< OdCryptAttribPtr > &unauthAttribs)=0 |
|
virtual bool | initSessionKeyToEncryptData (const OdString &password, OdUInt32 nProvType, const OdString &provName, OdUInt32 nAlgId, OdUInt32 nKeyLength)=0 |
|
virtual void | resetSessionKeyToEncryptData ()=0 |
|
virtual bool | encryptData (OdUInt8 *buffer, OdUInt32 bufferSize)=0 |
|
virtual bool | decryptData (OdUInt8 *buffer, OdUInt32 bufferSize)=0 |
|
| ODRX_HEAP_OPERATORS () |
|
| OdRxObject () |
|
virtual | ~OdRxObject () |
|
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
|
virtual OdRxObject * | x (const OdRxClass *pClass) const |
|
virtual OdRxClass * | isA () const |
|
virtual void | addRef ()=0 |
|
virtual void | release ()=0 |
|
virtual long | numRefs () const |
|
bool | isKindOf (const OdRxClass *pClass) const |
|
virtual OdRxObjectPtr | clone () const |
|
virtual void | copyFrom (const OdRxObject *pSource) |
|
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
|
virtual bool | isEqualTo (const OdRxObject *pOther) const |
|
Definition at line 101 of file OdCryptoServices.h.
◆ OdSignatureVerificationResult
Enumerator |
---|
kSuccess | |
kHasNoSignature | |
kBadSignature | |
kCertificateChainProblem | |
kBadAlgId | |
kNoSigner | |
kUnexpectedMsgType | |
kInvalidArg | |
kUnknownError | |
Definition at line 109 of file OdCryptoServices.h.
◆ decryptData()
virtual bool OdCryptoServices::decryptData |
( |
OdUInt8 * |
buffer, |
|
|
OdUInt32 |
bufferSize |
|
) |
| |
|
pure virtual |
◆ encryptData()
virtual bool OdCryptoServices::encryptData |
( |
OdUInt8 * |
buffer, |
|
|
OdUInt32 |
bufferSize |
|
) |
| |
|
pure virtual |
◆ generateDetachedSignature()
◆ getCertFromDetachedSignature()
◆ getCertObjByShortDesc()
◆ getPersonalCertsWithTrustedStatus()
◆ getUnauthAttribsFromDetachedSignature()
◆ initSessionKeyToEncryptData()
◆ newCryptAttrib()
◆ newCryptSignMessagePara()
◆ ODRX_DECLARE_MEMBERS()
◆ resetSessionKeyToEncryptData()
virtual void OdCryptoServices::resetSessionKeyToEncryptData |
( |
| ) |
|
|
pure virtual |
◆ verifyDetachedSignature()
The documentation for this class was generated from the following file: