W3cubDocs

/OpenJDK 21

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

Method Summary

Modifier and Type Method Description
String getName()
Returns the attribute's name.
String getValue()
Returns the attribute's value.

Method Details

getName

String getName()
Returns the attribute's name.
Returns:
the attribute name

getValue

String getValue()
Returns the attribute's value. Multivalued attributes encode their values as a single string.
Returns:
the attribute value

© 1993, 2023, 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/21/docs/api/java.base/java/security/KeyStore.Entry.Attribute.html