g-Eclipse
Release 1.0.0

eu.geclipse.core.security
Interface ICertificateHandle


public interface ICertificateHandle

A certificate handle is used by the certificate manager to connect certificates with their trust level and eventually with a underlying file.


Method Summary
 boolean delete()
          Delete the certificate and all related files.
 java.security.cert.X509Certificate getCertificate()
          Get the X509Certificate corresponding to this handle.
 ICertificateManager.CertTrust getTrust()
          Get the trust level of this certificate.
 

Method Detail

delete

boolean delete()
Delete the certificate and all related files.

Returns:
true if the deletion was complete, false otherwise.

getCertificate

java.security.cert.X509Certificate getCertificate()
Get the X509Certificate corresponding to this handle.

Returns:
The certificate itself.

getTrust

ICertificateManager.CertTrust getTrust()
Get the trust level of this certificate.

Returns:
The certificate's trust level.

g-Eclipse
Release 1.0.0