*/
@Deprecated
public static ApplicationDirectory getApplicationDirectory(MfCard card, MfReaderWriter readerWriter,
byte[] writeKeyValue) throws IOException {
SimpleMfAccess simpleMfAccess = new SimpleMfAccess(card, Key.A, MadConstants.DEFAULT_MAD_KEY);
TrailerBlock madTrailer = (TrailerBlock)readerWriter.readBlock(new MfAccess(simpleMfAccess, 0, card
.getTrailerBlockNumberForSector(0), 1))[0];
if ((madTrailer.getGeneralPurposeByte() & MadConstants.GPB_MAD_AVAILABLE) != 0) {