|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICertificateManager
Central certificate manager definition.
| Nested Class Summary | |
|---|---|
static class |
ICertificateManager.CertTrust
Trust mode for the certificates managed by this manager. |
| Method Summary | |
|---|---|
ICertificateHandle |
addCertificate(java.security.cert.X509Certificate c,
ICertificateManager.CertTrust trust)
Add the specified certificate with the specified trust mode to this manager. |
ICertificateHandle[] |
addCertificates(java.security.cert.X509Certificate[] list,
ICertificateManager.CertTrust trust)
Add the specified certificates with the specified trust mode to this manager. |
java.util.List<ICertificateHandle> |
getAllCertificates()
Get all currently managed certificates. |
java.util.List<ICertificateHandle> |
getTrustedCertificates()
Get all currently trusted certificates. |
java.util.List<ICertificateHandle> |
getUntrustedCertificates()
Get all currently not trusted certificates. |
void |
removeCertificate(ICertificateHandle c)
Remove the specified certificate from this manager. |
void |
removeCertificates(ICertificateHandle[] list)
Remove the specified certificates from this manager. |
| Methods inherited from interface eu.geclipse.core.security.ISecurityManager |
|---|
addListener, removeListener |
| Method Detail |
|---|
ICertificateHandle addCertificate(java.security.cert.X509Certificate c,
ICertificateManager.CertTrust trust)
throws ProblemException
c - The certificate to be added.trust - The trust mode of this certificate.
ICertificateHandle that is created to internally handle
certificates.
ProblemException - If the certificate could not be added due to an
error.
ICertificateHandle[] addCertificates(java.security.cert.X509Certificate[] list,
ICertificateManager.CertTrust trust)
throws ProblemException
list - The certificates to be added.trust - The trust mode of these certificates.
ICertificateHandles that are created to internally
handle certificates.
ProblemException - If the certificates could not be added due to an
error.java.util.List<ICertificateHandle> getAllCertificates()
ICertificateHandles of the currently managed
certificates.java.util.List<ICertificateHandle> getTrustedCertificates()
ICertificateHandles of the currently trusted
certificates.java.util.List<ICertificateHandle> getUntrustedCertificates()
ICertificateHandles of the currently not trusted
certificates.void removeCertificate(ICertificateHandle c)
c - The ICertificateHandle of the certificate to be removed.void removeCertificates(ICertificateHandle[] list)
list - The ICertificateHandles of the certificates to be removed.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||