// Path: commons-eid-client/src/main/java/be/bosa/commons/eid/client/FileType.java
// public enum FileType {
// 	Identity(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x31}, 179),
// 	IdentitySignature(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x32}, 128),
// 	Address(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x33}, 121),
// 	AddressSignature(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x34}, 128),
// 	Photo(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x35}, 3064),
// 	AuthentificationCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x38}, 1061, 0x82),
// 	NonRepudiationCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x39}, 1082, 0x83),
// 	CACertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x3A}, 1044),
// 	RootCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x3B}, 914),
// 	RRNCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x3C}, 820);
// 
// 	private final byte[] fileId;
// 	private final byte keyId;
// 	private final int estimatedMaxSize;
// 
// 	FileType(byte[] fileId, int estimatedMaxSize) {
// 		this.fileId = fileId;
// 		this.keyId = -1;
// 		this.estimatedMaxSize = estimatedMaxSize;
// 	}
// 
// 	FileType(byte[] fileId, int estimatedMaxSize, int keyId) {
// 		this.fileId = fileId;
// 		this.keyId = (byte) keyId;
// 		this.estimatedMaxSize = estimatedMaxSize;
// 	}
// 
// 	public byte[] getFileId() {
// 		return fileId;
// 	}
// 
// 	public byte getKeyId() {
// 		return keyId;
// 	}
// 
// 	public boolean isCertificateUserCanSignWith() {
// 		return keyId != -1;
// 	}
// 
// 	public boolean chainIncludesCitizenCA() {
// 		return isCertificateUserCanSignWith();
// 	}
// 
// 	public int getEstimatedMaxSize() {
// 		return estimatedMaxSize;
// 	}
// }
// 
// Path: commons-eid-client/src/main/java/be/bosa/commons/eid/client/event/BeIDCardListener.java
// public interface BeIDCardListener {
// 
// 	void notifyReadProgress(FileType fileType, int offset, int estimatedMaxSize);
// 
// 	void notifySigningBegin(FileType fileType);
// 
// 	void notifySigningEnd(FileType fileType);
// }


import be.bosa.commons.eid.client.FileType;
import be.bosa.commons.eid.client.event.BeIDCardListener;
/*
 * Commons eID Project.
 * Copyright (C) 2014 - 2018 BOSA.
 *
 * This is free software; you can redistribute it and/or modify it under the
 * terms of the GNU Lesser General Public License version 3.0 as published by
 * the Free Software Foundation.
 *
 * This software is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this software; if not, see https://www.gnu.org/licenses/.
 */

package be.bosa.commons.eid.client.tests.integration;


public class TestBeIDCardListener implements BeIDCardListener {

	@Override
// Path: commons-eid-client/src/main/java/be/bosa/commons/eid/client/FileType.java
// public enum FileType {
// 	Identity(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x31}, 179),
// 	IdentitySignature(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x32}, 128),
// 	Address(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x33}, 121),
// 	AddressSignature(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x34}, 128),
// 	Photo(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x01, 0x40, 0x35}, 3064),
// 	AuthentificationCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x38}, 1061, 0x82),
// 	NonRepudiationCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x39}, 1082, 0x83),
// 	CACertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x3A}, 1044),
// 	RootCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x3B}, 914),
// 	RRNCertificate(new byte[]{0x3F, 0x00, (byte) 0xDF, 0x00, 0x50, 0x3C}, 820);
// 
// 	private final byte[] fileId;
// 	private final byte keyId;
// 	private final int estimatedMaxSize;
// 
// 	FileType(byte[] fileId, int estimatedMaxSize) {
// 		this.fileId = fileId;
// 		this.keyId = -1;
// 		this.estimatedMaxSize = estimatedMaxSize;
// 	}
// 
// 	FileType(byte[] fileId, int estimatedMaxSize, int keyId) {
// 		this.fileId = fileId;
// 		this.keyId = (byte) keyId;
// 		this.estimatedMaxSize = estimatedMaxSize;
// 	}
// 
// 	public byte[] getFileId() {
// 		return fileId;
// 	}
// 
// 	public byte getKeyId() {
// 		return keyId;
// 	}
// 
// 	public boolean isCertificateUserCanSignWith() {
// 		return keyId != -1;
// 	}
// 
// 	public boolean chainIncludesCitizenCA() {
// 		return isCertificateUserCanSignWith();
// 	}
// 
// 	public int getEstimatedMaxSize() {
// 		return estimatedMaxSize;
// 	}
// }
// 
// Path: commons-eid-client/src/main/java/be/bosa/commons/eid/client/event/BeIDCardListener.java
// public interface BeIDCardListener {
// 
// 	void notifyReadProgress(FileType fileType, int offset, int estimatedMaxSize);
// 
// 	void notifySigningBegin(FileType fileType);
// 
// 	void notifySigningEnd(FileType fileType);
// }


// Path: commons-eid-tests/src/test/java/be/bosa/commons/eid/client/tests/integration/TestBeIDCardListener.java
import be.bosa.commons.eid.client.FileType;
import be.bosa.commons.eid.client.event.BeIDCardListener;

/*
 * Commons eID Project.
 * Copyright (C) 2014 - 2018 BOSA.
 *
 * This is free software; you can redistribute it and/or modify it under the
 * terms of the GNU Lesser General Public License version 3.0 as published by
 * the Free Software Foundation.
 *
 * This software is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this software; if not, see https://www.gnu.org/licenses/.
 */

package be.bosa.commons.eid.client.tests.integration;


public class TestBeIDCardListener implements BeIDCardListener {

	@Override
	public void notifyReadProgress(FileType fileType, int offset, int estimatedMaxSize) {