/** * {@link #rsaSignatureAlgorithms} */ public void setRSASignatureAlgorithms(final Set<PINRSASignatureAlgorithm> rsaSignatureAlgorithms) { this.rsaSignatureAlgorithms.set((int) Bitmask.of(rsaSignatureAlgorithms)); }
public DWORDArray(final int length) { super(new DWORD[length]); for (int i = 0; i < array.length; i++) { array[i] = new DWORD(); } } }
private RequestId open(final XfsOpenCommand openCommand, final XfsEventNotification eventNotification) throws XfsException { final String method = "open(XFSOpenCommand, IXfsEventNotification)"; if (LOG.isDebugEnabled()) { LOG.debug(method, "openCommand=" + openCommand + ",eventNotification=" + eventNotification); } final XfsService xfsService = openCommand.getXFSService(); final DWORD dwTraceLevel = null; final DWORD timeOut = new DWORD(0L); final RequestId requestId = xfsAPI.wfsAsyncOpen(new ZSTR(xfsService.getLogicalName()), hApp, null, dwTraceLevel, timeOut, xfsService.getService(), hWnd, xfsService.getSrvcVersionsRequired(), xfsService.getSrvcVersion(), xfsService.getSPIVersion()); requestQueue.addRequest(requestId, eventNotification, openCommand, Long.valueOf(timeOut.longValue())); return requestId; }
public long getMessage() { return message.longValue(); }
public long getCommand() { return command.get(); }
@Override public List<Set<T>> get() { List<Set<T>> result = new ArrayList<>(); for (DWORD each : array) { result.add(get(each.longValue())); } return result; }
public WFSPINSTATUS(final XfsVersion xfsVersion) { add(device); add(encStat); add(extra); if (xfsVersion.isGE(XfsVersion.V3_10)) { add(guidLights); add(autoBeepModes); add(certificateState); add(devicePosition); add(powerSaveRecoveryTime); } else { guidLights.allocate(); autoBeepModes.allocate(); certificateState.allocate(); devicePosition.allocate(); powerSaveRecoveryTime.allocate(); } if (xfsVersion.isGE(XfsVersion.V3_20)) { add(antiFraudModule); } else { antiFraudModule.allocate(); } }
public long getCommand() { return command.get(); }
/** * {@link #rsaCryptAlgorithms} */ public void setRSACryptAlgorithms(final Set<PINRSACryptAlgorithm> rsaCryptAlgorithms) { this.rsaCryptAlgorithms.set((int) Bitmask.of(rsaCryptAlgorithms)); }
public static DWORD of(final XfsConstant... values) { int result = 0; if (values != null) { for (final XfsConstant value : values) { result |= value.getValue(); } } return new DWORD(result); }
public long getCommand() { return command.get(); }
@Override public void set(List<Set<T>> value) { for (int i = 0; i < array.length; i++) { long l = 0L; for (T each : value.get(i)) { l |= each.getValue(); } array[i].set(l); } }