protected byte [ ] selectPaymentEnvironment ( ) throws CommunicationException { if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "Select " + ( config . contactLess ? "PPSE" : "PSE" ) + " Application" ) ; } // Select the PPSE or PSE directory return provider . transceive ( new CommandApdu ( CommandEnum . SELECT , config . contactLess ? PPSE : PSE , 0 ) . toBytes ( ) ) ; }
Method used to select payment environment PSE or PPSE