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 Class Summary
Modifier and Type | Interface | Description |
---|---|---|
static interface |
KeyStore.Entry.Attribute |
An attribute associated with a keystore entry. |
Method Summary
Modifier and Type | Method | Description |
---|---|---|
default Set<KeyStore.Entry.Attribute> |
getAttributes() |
Retrieves the attributes associated with an entry. |
Method Details
getAttributes
default Set<KeyStore.Entry.Attribute> getAttributes()
Retrieves the attributes associated with an entry.
- Implementation Requirements:
- The default implementation returns an empty
Set
. - Returns:
- an unmodifiable
Set
of attributes, possibly empty - Since:
- 1.8
© 1993, 2021, 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/en/java/javase/17/docs/api/java.base/java/security/KeyStore.Entry.html