org.apache.cxf.xkms.x509.repo.ldap
Class LdapCertificateRepo
java.lang.Object
org.apache.cxf.xkms.x509.repo.ldap.LdapCertificateRepo
- All Implemented Interfaces:
- CertificateRepo
public class LdapCertificateRepo
- extends Object
- implements CertificateRepo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapCertificateRepo
public LdapCertificateRepo(LdapSearch ldapSearch,
LdapSchemaConfig ldapConfig,
String rootDN)
- Parameters:
ldapSearch - rootDN - rootDN of the LDAP treetrustedAuthorityFilter - intermediateFilter - attrName -
getTrustedCaCerts
public List<X509Certificate> getTrustedCaCerts()
- Specified by:
getTrustedCaCerts in interface CertificateRepo
getCaCerts
public List<X509Certificate> getCaCerts()
- Specified by:
getCaCerts in interface CertificateRepo
getCRLs
public List<X509CRL> getCRLs()
- Specified by:
getCRLs in interface CertificateRepo
findBySubjectDn
public X509Certificate findBySubjectDn(String id)
- Specified by:
findBySubjectDn in interface CertificateRepo
findByServiceName
public X509Certificate findByServiceName(String serviceName)
- Specified by:
findByServiceName in interface CertificateRepo
findByEndpoint
public X509Certificate findByEndpoint(String endpoint)
- Specified by:
findByEndpoint in interface CertificateRepo
findByIssuerSerial
public X509Certificate findByIssuerSerial(String issuer,
String serial)
- Specified by:
findByIssuerSerial in interface CertificateRepo
saveCertificate
public void saveCertificate(X509Certificate cert,
UseKeyWithType key)
- Specified by:
saveCertificate in interface CertificateRepo
Apache CXF