Connection Manager 3.6.3 Javadoc

org.jivesoftware.util
Interface CertificateEventListener


public interface CertificateEventListener

Interface to listen for certificate events. Use the CertificateManager.addListener(CertificateEventListener) method to register for events.

Author:
Gaston Dombiak

Method Summary
 void certificateCreated(java.security.KeyStore keyStore, java.lang.String alias, java.security.cert.X509Certificate cert)
          Event triggered when a new certificate is created.
 void certificateDeleted(java.security.KeyStore keyStore, java.lang.String alias)
          Event triggered when a certificate is being deleted from the keystore.
 void certificateSigned(java.security.KeyStore keyStore, java.lang.String alias, java.util.List<java.security.cert.X509Certificate> certificates)
          Event triggered when a certificate has been signed by a Certificate Authority.
 

Method Detail

certificateCreated

void certificateCreated(java.security.KeyStore keyStore,
                        java.lang.String alias,
                        java.security.cert.X509Certificate cert)
Event triggered when a new certificate is created.

Parameters:
keyStore - key store where the certificate has been added.
alias - the alias of the certificate in the keystore.
cert - the new certificate created.

certificateDeleted

void certificateDeleted(java.security.KeyStore keyStore,
                        java.lang.String alias)
Event triggered when a certificate is being deleted from the keystore.

Parameters:
keyStore - key store where the certificate is being deleted.
alias - the alias of the certificate in the keystore.

certificateSigned

void certificateSigned(java.security.KeyStore keyStore,
                       java.lang.String alias,
                       java.util.List<java.security.cert.X509Certificate> certificates)
Event triggered when a certificate has been signed by a Certificate Authority.

Parameters:
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.

Connection Manager 3.6.3 Javadoc

Copyright © 2003-2006 Jive Software.