package at.knowcenter.wag.egov.egiz.sig; /** * @author Thomas Knall */ public interface LDAPAPI { public static final String SYS_PROP_IMPLEMENTATION = "pdfas.ldapapi.impl"; /** * Returns the url of the ldap server. * @param issuer The issuer name. * @return The ldap url. */ public String getURL(String issuer); /** * Retrieves an certificate from the ldap server identified by serial number and issuer name. * @param serialNumber The serial number. * @param issuer The issuer name. * @return BASE64 encoded certificate */ public byte[] loadBase64CertificateFromLDAP(String serialNumber, String issuer); }