src/com/makina/security/OpenFIPS201/PIV.java
public void deselect() {

        // If the currently selected application is the PIV Card Application when the SELECT command is given
        // and the AID in the data field of the SELECT command is either the AID of the PIV Card Application or
        // the right-truncated version thereof, then the PIV Card Application shall continue to be the currently
        // selected card application and the setting of all security status indicators in the PIV Card Application
        // shall be unchanged.

        // If the currently selected application is the PIV Card Application when the SELECT command is given
        // and the AID in the data field of the SELECT command is not the PIV Card Application (or the right truncated
        // version thereof), but a valid AID supported by the ICC, then the PIV Card Application shall be
        // deselected and all the PIV Card Application security status indicators in the PIV Card Application shall
        // be set to FALSE.

        // Reset all security conditions in the security provider
        cspPIV.resetSecurityStatus();
    }
/**
     * Handles the PIV requirements for deselection of the application.
     * Although this is not explicitly stated as a PIV card command, its functionality is implied in the SELECT
     */
Handles the PIV requirements for deselection of the application.
Although this is not explicitly stated as a PIV card command, its functionality is implied in the SELECT
Handles the PIV requirements for deselection of the application . Although this is not explicitly stated as a PIV card command its functionality is implied in the SELECT
public void deselect() {
        cspPIV.resetSecurityStatus();
    }
public void deselect ( ) { cspPIV . resetSecurityStatus ( ) ; }
Handles the PIV requirements for deselection of the application.
Handles the PIV requirements for deselection of the application .
// If the currently selected application is the PIV Card Application when the SELECT command is given // and the AID in the data field of the SELECT command is either the AID of the PIV Card Application or // the right-truncated version thereof, then the PIV Card Application shall continue to be the currently // selected card application and the setting of all security status indicators in the PIV Card Application // shall be unchanged. // If the currently selected application is the PIV Card Application when the SELECT command is given // and the AID in the data field of the SELECT command is not the PIV Card Application (or the right truncated // version thereof), but a valid AID supported by the ICC, then the PIV Card Application shall be // deselected and all the PIV Card Application security status indicators in the PIV Card Application shall // be set to FALSE. // Reset all security conditions in the security provider