public void addCertChainListener(CertChainListener listener){
  certChainListeners.add(listener);
}

public void addCertChainListener ( CertChainListener listener ) { certChainListeners . add ( listener ) ; }
/ add a listener to be handed all certificate chains . use this solely for diagnostic purposes ( e . g . , to understand what root ca to add to a network security configuration ) . do not use this in production code .
