/* @Override public Attribute setAttribute(Attribute attribute, Object value) { attribute.value(Pointer.pointerToBoolean((Boolean)value)); attribute.size(1); return attribute; } @Override public Attribute createAttribute(AttributeType type) { return PKCS11.getInstance().createAttribute(type, Boolean.FALSE); } @Override public Attribute createAttribute(AttributeType type, int size) { return PKCS11.getInstance().createAttribute(type, Pointer.allocateBytes(size)); } */ @Override public Pair<Pointer<?>, Long> fromObject(Object value) { return new Pair<Pointer<?>, Long>(Pointer.pointerToBoolean((Boolean) value), 1L); }