internal RopInput(RopBind own, InputCallBack inputCB) { this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.iid = null; this.inputCB = inputCB; }
internal RopOutput(RopBind own, OutputCallBack outputCB) { this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.oid = null; this.outputCB = outputCB; }
public static void Main(string[] args) { // A trivial test try { throw new RopError(0); } catch (RopError) { Console.WriteLine("Starting:"); } RopBind rop = null; try { rop = new RopBind(); Console.WriteLine(rop.version_string_full()); RopSession ses = rop.create_session("GPG", "GPG"); Console.WriteLine("Session: " + ses.ToString()); Console.WriteLine("Done."); } catch (RopError ex) { Console.WriteLine(ex); } finally { if (rop != null) { rop.Close(); } } }
internal RopData(RopBind own, RopHandle hnd, long dataLen) { this.lib = own.getLib(); this.hnd = hnd; this.dataLen = dataLen; this.sdata = null; this.bdata = null; }
internal RopIdIterator(RopBind own, RopHandle iiid) { if (iiid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.lib = own.getLib(); this.iiid = iiid; }
public RopSignSignature(RopBind own, RopHandle sgid) { if (sgid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.lib = own.getLib(); this.sgid = sgid; }
internal RopSymEnc(RopBind own, RopHandle seid) { if (seid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.seid = seid; }
internal RopRecipient(RopBind own, RopHandle rid) { if (rid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.rid = rid; }
internal RopOpEncrypt(RopBind own, RopHandle opid) { if (opid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.opid = opid; }
public RopVeriSignature(RopBind own, RopHandle sgid) { if (sgid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.sgid = sgid; }
internal RopInput(RopBind own, RopHandle iid) { if (iid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.iid = iid; this.inputCB = null; }
internal RopSession(RopBind own, RopHandle sid) { if (sid.IsNull()) { throw new RopError(RopBind.ROP_ERROR_NULL_HANDLE); } this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.sid = sid; this.passProvider = null; this.keyProvider = null; }
internal RopUidHandle(RopBind own, RopHandle huid) { this.own = new WeakReference <RopBind>(own); this.lib = own.getLib(); this.huid = huid; }