All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.gob.jmulticard.apdu.connection.ApduConnectionProtocol Maven / Gradle / Ivy

package es.gob.jmulticard.apdu.connection;

/** Protocolo de conexión con la tarjeta.
 * @author Tomás García-Merás */
public enum ApduConnectionProtocol {

    /** T=0. */
    T0,
    /** T=1. */
    T1,
    /** T=CL. */
    TCL,
    /** Cualquiera. */
    ANY;

    @Override
    public String toString() {
        switch (this) {
            case T0:
                return "T=0"; //$NON-NLS-1$
            case T1:
                return "T=1"; //$NON-NLS-1$
            case TCL:
                return "T=CL"; //$NON-NLS-1$
            default:
                return "*"; //$NON-NLS-1$
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy