14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
233 public virtual bool encryptData(
byte[] buffer, UInt32 bufferSize) {
239 public virtual bool decryptData(
byte[] buffer, UInt32 bufferSize) {
static global::System.Exception Retrieve()
static IntPtr OdCryptoServices_desc()
static void OdCryptoServices_verifyDetachedSignature(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, out OdCryptoServices.OdSignatureVerificationResult jarg4)
static IntPtr OdCryptoServices_createObject()
static bool OdCryptoServices_initSessionKeyToEncryptData(HandleRef jarg1, IntPtr jarg2, UInt32 jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4, UInt32 jarg5, UInt32 jarg6)
static IntPtr OdCryptoServices_newSubjectKeyIdentifierAttr(HandleRef jarg1, IntPtr jarg2)
static string OdCryptoServices_getRealClassName(IntPtr jarg1)
static IntPtr OdCryptoServices_getCertFromDetachedSignature(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdCryptoServices_getCertObjByShortDesc(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdCryptoServices_getSubjectKeyIdFromDetachedSignature(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdCryptoServices_isA(HandleRef jarg1)
static bool OdCryptoServices_decryptData(HandleRef jarg1, IntPtr jarg2, UInt32 jarg3)
static IntPtr OdCryptoServices_newCryptSignMessagePara(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static bool OdCryptoServices_encryptData(HandleRef jarg1, IntPtr jarg2, UInt32 jarg3)
static UInt32 OdCryptoServices_getPersonalCertsWithTrustedStatus(HandleRef jarg1, out OdCertificateDescriptionArray jarg2)
static IntPtr OdCryptoServices_cast(HandleRef jarg1)
static bool OdCryptoServices_generateDetachedSignature(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out OdBinaryData jarg4)
static IntPtr OdCryptoServices_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdCryptoServices_resetSessionKeyToEncryptData(HandleRef jarg1)
static void delete_OdCryptoServices(HandleRef jarg1)
static HandleRef getCPtr(OdBinaryData obj)
static HandleRef getCPtr(OdBinaryDataLinkedArray obj)
static HandleRef getCPtr(OdCertificateObject obj)
static HandleRef getCPtr(OdCertificateShortDesc obj)
static HandleRef getCPtr(OdCryptSignMessagePara obj)
virtual OdSubjectKeyIdAttrib newSubjectKeyIdentifierAttr(OdBinaryData dataOfAttrValue)
OdCryptoServices(IntPtr cPtr, bool cMemoryOwn)
virtual OdCertificateObject getCertObjByShortDesc(OdCertificateShortDesc certShortDesc)
virtual bool generateDetachedSignature(OdCryptSignMessagePara pSignPara, OdBinaryDataLinkedArray message, out OdBinaryData signature)
virtual bool encryptData(byte[] buffer, UInt32 bufferSize)
virtual void verifyDetachedSignature(OdBinaryDataLinkedArray message, OdBinaryData signature, out OdCryptoServices.OdSignatureVerificationResult verificationResult)
virtual OdCryptSignMessagePara newCryptSignMessagePara(OdCertificateObject pCertObj, OdSubjectKeyIdAttrib pSubjectKeyIdAttr)
static string getRealClassName(IntPtr ptr)
virtual bool initSessionKeyToEncryptData(OdBinaryData passwordAsBinaryData, UInt32 nProvType, String provName, UInt32 nAlgId, UInt32 nKeyLength)
virtual void resetSessionKeyToEncryptData()
virtual bool decryptData(byte[] buffer, UInt32 bufferSize)
virtual OdSubjectKeyIdAttrib getSubjectKeyIdFromDetachedSignature(OdBinaryData signature)
OdSignatureVerificationResult
@ kCertificateChainProblem
override OdRxObject queryX(OdRxClass protocolClass)
static OdCryptoServices createObject()
static HandleRef getCPtr(OdCryptoServices obj)
virtual UInt32 getPersonalCertsWithTrustedStatus(out OdCertificateDescriptionArray certificates)
static new OdRxClass desc()
override void Dispose(bool disposing)
virtual OdCertificateObject getCertFromDetachedSignature(OdBinaryData signature)
static OdCryptoServices cast(OdRxObject pObj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdSubjectKeyIdAttrib obj)