Added in API level 1

KeyStore.Entry

public static interface KeyStore.Entry

java.security.KeyStore.Entry
KeyStore.PrivateKeyEntry A KeyStore entry that holds a PrivateKey and corresponding certificate chain. 
KeyStore.SecretKeyEntry A KeyStore entry that holds a SecretKey
KeyStore.TrustedCertificateEntry A KeyStore entry that holds a trusted Certificate
WrappedKeyEntry An Entry that holds a wrapped key. 


A marker interface for KeyStore entry types.

Summary

Nested classes

interface KeyStore.Entry.Attribute

An attribute associated with a keystore entry. 

Public methods

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

Retrieves the attributes associated with an entry.

Public methods

getAttributes

Added in API level 26
public Set<KeyStore.Entry.Attribute> getAttributes ()

Retrieves the attributes associated with an entry.

Implementation Requirements:
  • The default implementation returns an empty Set.
Returns
Set<KeyStore.Entry.Attribute> an unmodifiable Set of attributes, possibly empty