Interface KeyStore.Entry

All Known Implementing Classes:
KeyStore.PrivateKeyEntry, KeyStore.SecretKeyEntry, KeyStore.TrustedCertificateEntry
Enclosing class:
KeyStore

public static interface KeyStore.Entry

A marker interface for KeyStore entry types.

Since:
1.5

Nested Classes

Modifier and Type Interface and Description
static interface  KeyStore.Entry.Attribute

An attribute associated with a keystore entry.

Methods

Modifier and Type Method and Description
default Set<KeyStore.Entry.Attribute> getAttributes()

Retrieves the attributes associated with an entry.

Methods

getAttributes

default Set<KeyStore.Entry.Attribute> getAttributes()

Retrieves the attributes associated with an entry.

The default implementation returns an empty Set.

Returns:
an unmodifiable Set of attributes, possibly empty
Since:
1.8

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/java/security/KeyStore.Entry.html