use of org.openecard.mdlw.sal.config.CardSpecType in project open-ecard by ecsec.
the class MiddlewareSAL method getCardInfo.
@Override
public CardInfoType getCardInfo(@Nonnull ConnectionHandleType handle, @Nonnull String cardType) throws RuntimeException {
CardInfoType cif = mwSALConfig.getCardInfo(cardType);
CardSpecType cardSpec = mwSALConfig.getCardSpecType(cardType);
if (cif != null) {
cif = augmentCardInfo(handle, cif, cardSpec);
return cif;
} else {
LOG.error("No CIF available for card type '" + cardType + '"');
return null;
}
}
Aggregations