KeyStore.Entry.Attribute

  • KeyStore.Entry.Attribute represents an attribute associated with a keystore entry, consisting of a name and one or more values.

  • It provides methods to retrieve the attribute's name (getName()) and value (getValue()).

  • For attributes with multiple values, the getValue() method returns all values encoded as a single string.

public static interface KeyStore.Entry.Attribute

An attribute associated with a keystore entry. It comprises a name and one or more values.

Public Method Summary

abstract String
getName()
Returns the attribute's name.
abstract String
getValue()
Returns the attribute's value.

Public Methods

public abstract String getName ()

Returns the attribute's name.

Returns
  • the attribute name

public abstract String getValue ()

Returns the attribute's value. Multi-valued attributes encode their values as a single string.

Returns
  • the attribute value