KeyStore.Entry
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
A marker interface for KeyStore
entry types.
Public Methods
Retrieves the attributes associated with an entry.
The default implementation returns an empty Set
.
Returns
- an unmodifiable
Set
of attributes, possibly empty
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["`KeyStore.Entry` is a marker interface for different types of entries within a `KeyStore`."],["It has known indirect subclasses like `PrivateKeyEntry`, `SecretKeyEntry`, and `TrustedCertificateEntry` for storing different kinds of security credentials."],["The `getAttributes()` method allows retrieval of entry-specific attributes, returning an empty set by default."],["A nested interface, `KeyStore.Entry.Attribute`, is used to represent attributes associated with a keystore entry."]]],["`KeyStore.Entry` is a marker interface for keystore entry types, with subclasses `PrivateKeyEntry`, `SecretKeyEntry`, and `TrustedCertificateEntry`. These entries hold a private key with a certificate chain, a secret key, and a trusted certificate, respectively. Entries can have attributes represented by the `KeyStore.Entry.Attribute` interface. The `getAttributes()` method retrieves an unmodifiable set of these attributes, which defaults to an empty set.\n"]]