Class FileCertificateRepo
java.lang.Object
org.apache.cxf.xkms.x509.repo.file.FileCertificateRepo
- All Implemented Interfaces:
CertificateRepo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByEndpoint(String endpoint) findByIssuerSerial(String issuer, String serial) findByServiceName(String serviceName) findBySubjectDn(String subjectDn) getCertPath(X509Certificate cert, UseKeyWithType id) getCRLs()readCertificate(File certFile) voidsaveCACertificate(X509Certificate cert, UseKeyWithType id) voidsaveCertificate(X509Certificate cert, UseKeyWithType id) voidsaveCRL(X509CRL crl, UseKeyWithType id) void
-
Constructor Details
-
FileCertificateRepo
-
-
Method Details
-
saveCertificate
- Specified by:
saveCertificatein interfaceCertificateRepo
-
saveTrustedCACertificate
-
saveCACertificate
-
saveCRL
-
convertIdForFileSystem
-
getCertPath
- Throws:
URISyntaxException
-
readCertificate
public X509Certificate readCertificate(File certFile) throws CertificateException, FileNotFoundException, IOException -
readCRL
-
getTrustedCaCerts
- Specified by:
getTrustedCaCertsin interfaceCertificateRepo
-
getCaCerts
- Specified by:
getCaCertsin interfaceCertificateRepo
-
getCRLs
- Specified by:
getCRLsin interfaceCertificateRepo
-
findByServiceName
- Specified by:
findByServiceNamein interfaceCertificateRepo
-
findByEndpoint
- Specified by:
findByEndpointin interfaceCertificateRepo
-
findBySubjectDn
- Specified by:
findBySubjectDnin interfaceCertificateRepo
-
findByIssuerSerial
- Specified by:
findByIssuerSerialin interfaceCertificateRepo
-