public interface CertificateEventListener
CertificateManager.addListener(CertificateEventListener)
method to register for events.Modifier and Type | Method and Description |
---|---|
void |
certificateCreated(KeyStore keyStore,
String alias,
X509Certificate cert)
Event triggered when a new certificate is created.
|
void |
certificateDeleted(KeyStore keyStore,
String alias)
Event triggered when a certificate is being deleted from the keystore.
|
void |
certificateSigned(KeyStore keyStore,
String alias,
List<X509Certificate> certificates)
Event triggered when a certificate has been signed by a Certificate Authority.
|
void certificateCreated(KeyStore keyStore, String alias, X509Certificate cert)
keyStore
- key store where the certificate has been added.alias
- the alias of the certificate in the keystore.cert
- the new certificate created.void certificateDeleted(KeyStore keyStore, String alias)
keyStore
- key store where the certificate is being deleted.alias
- the alias of the certificate in the keystore.void certificateSigned(KeyStore keyStore, String alias, List<X509Certificate> certificates)
keyStore
- key store where the certificate is stored.alias
- the alias of the certificate in the keystore.certificates
- chain of certificates. First certificate in the list is the certificate
being signed and last certificate in the list is the root certificate.Copyright © 2003-2008 Jive Software.