code: public final Certificate[] getCertificateChain(String alias)
          throws KeyStoreException
      {
          if (!initialized) {
              throw new KeyStoreException("Uninitialized keystore");
          }
          return keyStoreSpi.engineGetCertificateChain(alias);
      }
docs: Returns the certificate chain associated with the given alias.
  The certificate chain must have been associated with the alias
  by a call to <code>setKeyEntry</code>,
  or by a call to <code>setEntry</code> with a
  <code>PrivateKeyEntry</code>.
  
  @param alias the alias name
  
  @return the certificate chain (ordered with the user's certificate first
  followed by zero or more certificate authorities), or null if the given alias
  does not exist or does not contain a certificate chain
  
  @exception KeyStoreException if the keystore has not been initialized
  (loaded).