code: public static void loadX509Cert( Certificate cert, String certAlias, KeyStore keyStore ) throws KeyStoreException
      {
          keyStore.setCertificateEntry( certAlias, cert );
      }
docs: Load a certificate to a key store with a name
  
  @param certAlias a name to identify different certificates
  @param cert
  @param keyStore