Lines Matching defs:entry

67      * or does not identify a key-related entry.
95 * <p> If the given alias name identifies an entry
99 * then the trusted certificate contained in that entry is returned.
101 * <p> If the given alias name identifies an entry
105 * then the first element of the certificate chain in that entry
116 * Returns the creation date of the entry identified by the given alias.
120 * @return the creation date of this entry, or null if the given alias does
180 * <p> If the given alias identifies an existing entry
184 * the trusted certificate in the existing entry
191 * not identify an entry containing a trusted certificate,
199 * Deletes the entry identified by the given alias from this keystore.
203 * @exception KeyStoreException if the entry cannot be removed.
232 * Returns true if the entry identified by the given alias
237 * @param alias the alias for the keystore entry to be checked
239 * @return true if the entry identified by the given alias is a
245 * Returns true if the entry identified by the given alias
250 * @param alias the alias for the keystore entry to be checked
252 * @return true if the entry identified by the given alias contains a
258 * Returns the (alias) name of the first keystore entry whose certificate
262 * keystore entry. If the entry being considered was
266 * then the given certificate is compared to that entry's certificate.
268 * <p> If the entry being considered was
273 * element of that entry's certificate chain.
277 * @return the alias name of the first entry with matching certificate,
278 * or null if no such entry exists in this keystore.
431 * or <code>null</code> if there is no such entry
435 * entry cannot be found
438 * @exception UnrecoverableKeyException if the entry is a
490 * <p> If an entry already exists for the specified alias,
494 * @param entry the <code>Entry</code> to save
503 public void engineSetEntry(String alias, KeyStore.Entry entry,
518 // set entry
519 if (entry instanceof KeyStore.TrustedCertificateEntry) {
521 (KeyStore.TrustedCertificateEntry)entry;
524 } else if (entry instanceof KeyStore.PrivateKeyEntry) {
527 ((KeyStore.PrivateKeyEntry)entry).getPrivateKey(),
529 ((KeyStore.PrivateKeyEntry)entry).getCertificateChain());
531 } else if (entry instanceof KeyStore.SecretKeyEntry) {
534 ((KeyStore.SecretKeyEntry)entry).getSecretKey(),
541 ("unsupported entry type: " + entry.getClass().getName());
550 * @param entryClass the entry class