public final void setCertificateEntry ( String alias , Certificate cert ) throws KeyStoreException { if ( ! initialized ) { throw new KeyStoreException ( "Uninitialized keystore" ) ; } keyStoreSpi . engineSetCertificateEntry ( alias , cert ) ; }
Assigns the given trusted certificate to the given alias .