/** * This method returns the LOTL country code * * @return the country code of the used LOTL */ public String getLOTLCountryCode() { XmlTrustedList listOfTrustedLists = wrapped.getListOfTrustedLists(); if (listOfTrustedLists != null) { return listOfTrustedLists.getCountryCode(); } return null; }
public TLValidationBlock(XmlTrustedList currentTL, Date currentTime, ValidationPolicy policy) { super(new XmlTLAnalysis()); result.setCountryCode(currentTL.getCountryCode()); this.currentTL = currentTL; this.currentTime = currentTime; this.policy = policy; }