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 serialNumber.
 iaik.x509.X509Certificate[] retrieveCertificates(String filter)
          Retrieves the certificate(s) matching the filter 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

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

Returns:
The ldap url linked with this client.

setUrl

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

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

getSerialNumberAttrName

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

Returns:
The attribute name representing the serial number.

setSerialNumberAttrName

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

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

retrieveCertificates

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

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

retrieveCertificate

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

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


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.