public void ClassRequest(APDUWrapper request, FunctionCode fc, ClassField classes, byte seq) { request.SetControl(new AppControlField(true, true, false, false, seq)); request.SetFunction(fc); //auto writer = request.GetWriter(); //WriteClassHeaders(writer, classes); }
public void EnableUnsolicited(APDUWrapper request, ClassField classes, byte seq) { ClassRequest(request, FunctionCode.ENABLE_UNSOLICITED, classes, seq); }
public void Set(ClassField cf) { bitfield |= (byte)cf.bitfield; }
public void Clear(ClassField cf) { bitfield &= (byte)~(cf.bitfield); }
public bool Intersects(ClassField f) { return((bitfield & f.bitfield) > 0); }
public void DisableUnsolicited(APDUWrapper request, byte seq) { ClassRequest(request, FunctionCode.DISABLE_UNSOLICITED, ClassField.AllEventClasses(), seq); }
public void ReadIntegrity(APDUWrapper request, ClassField classes, byte seq) { ClassRequest(request, FunctionCode.READ, classes, seq); }