Interface KeyStore.Entry.Attribute

All Known Implementing Classes:
PKCS12Attribute
Enclosing interface:
KeyStore.Entry

public static interface KeyStore.Entry.Attribute

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

Since:
1.8

Methods

Modifier and Type Method and Description
String getName()

Returns the attribute's name.

String getValue()

Returns the attribute's value.

Methods

getName

String getName()

Returns the attribute's name.

Returns:
the attribute name

getValue

String getValue()

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

Returns:
the attribute value

© 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.Attribute.html