code: protected byte[] selectAID(final byte[] pAid) throws CommunicationException {
  		if (LOGGER.isDebugEnabled()) {
  			LOGGER.debug("Select AID: " + BytesUtils.bytesToString(pAid));
  		}
  		return template.get().getProvider().transceive(new CommandApdu(CommandEnum.SELECT, pAid, 0).toBytes());
  	}
docs: Select application with AID or RID
  
  @param pAid
  byte array containing AID or RID
  @return response byte array
  @throws CommunicationException communication error