at.knowcenter.wag.egov.egiz.ldap.client
Interface LDAPClient

All Known Implementing Classes:
LDAPClientImpl

public interface LDAPClient

Author:
Thomas Knall

Method Summary
 String getSerialNumberAttrName()
          Returns the attribute name that represents the serial number.
 URL getUrl()
          Returns the ldap url this client was registered for.
 iaik.x509.X509Certificate retrieveCertificate(BigInteger serialNumber)
          Retriebes the certificate with the serial number .
 iaik.x509.X509Certificate[] retrieveCertificates(String filter)
          Retrieves the certificate(s) matching the filter .
 void setSerialNumberAttrName(String serialNumberAttrName)
          Sets the attribute name that represents the serial number.
 void setUrl(URL ldapURL)
          Sets the ldap url this client should be registered for.
 

Method Detail

getUrl

public URL getUrl()
Returns the ldap url this client was registered for.

Returns:
The ldap url linked with this client.

setUrl

public void setUrl(URL ldapURL)
Sets the ldap url this client should be registered for.

Parameters:
ldapURL - The ldap url linked with this client.

getSerialNumberAttrName

public String getSerialNumberAttrName()
Returns the attribute name that represents the serial number.

Returns:
The attribute name representing the serial number.

setSerialNumberAttrName

public void setSerialNumberAttrName(String serialNumberAttrName)
Sets the attribute name that represents the serial number.

Parameters:
serialNumberAttrName - The attribute name representing the serial number.

retrieveCertificates

public iaik.x509.X509Certificate[] retrieveCertificates(String filter)
                                                 throws LDAPException
Retrieves the certificate(s) matching the filter .

Parameters:
filter - The filter for the ldap request.
Returns:
An array of certificates matching the filter .
Throws:
LDAPException - Is thrown in case of error.

retrieveCertificate

public iaik.x509.X509Certificate retrieveCertificate(BigInteger serialNumber)
                                              throws LDAPException
Retriebes the certificate with the serial number .

Parameters:
serialNumber - The serial number of the required certificate.
Returns:
The certificate with the serial number .
Throws:
LDAPException - Is thrown in case of error.


Copyright © 2006-2010. All Rights Reserved.