eu.geclipse.core.security
Class GildaCertificateLoader
java.lang.Object
eu.geclipse.core.security.GildaCertificateLoader
- All Implemented Interfaces:
- ICertificateLoader
public class GildaCertificateLoader
- extends java.lang.Object
- implements ICertificateLoader
An ICertificateLoader used to import the CA certificate for the
Gilda training infrastructure.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GildaCertificateLoader
public GildaCertificateLoader()
fetchCertificate
public java.security.cert.X509Certificate fetchCertificate(ICertificateLoader.CertificateID id,
IProgressMonitor monitor)
throws ProblemException
- Description copied from interface:
ICertificateLoader
- Fetch the certificates from the specified certificate IDs.
- Specified by:
fetchCertificate in interface ICertificateLoader
- Parameters:
id - The id of the certificate to be fetched.monitor - A progress monitor.
- Returns:
- The certificate.
- Throws:
ProblemException - If an error occurred.
listAvailableCertificates
public ICertificateLoader.CertificateID[] listAvailableCertificates(java.net.URI uri,
IProgressMonitor monitor)
throws ProblemException
- Description copied from interface:
ICertificateLoader
- List the certificates that are available from the specified repository.
- Specified by:
listAvailableCertificates in interface ICertificateLoader
- Parameters:
uri - The repository to be listed.monitor - A progress monitor.
- Returns:
- A list of available certificates represented by their
ICertificateLoader.CertificateIDs.
- Throws:
ProblemException - If a problem occurs.