- Enclosing class:
- KeySelector
public static class KeySelector.Purpose
extends Object
The purpose of the key that is to be selected.
-
-
Method Summary
Returns a string representation of this purpose ("sign",
"verify", "encrypt", or "decrypt").
-
Field Details
-
-
VERIFY
A key for verifying.
-
ENCRYPT
A key for encrypting.
-
DECRYPT
A key for decrypting.
-
Method Details
-
toString
Returns a string representation of this purpose ("sign",
"verify", "encrypt", or "decrypt").
- Overrides:
toString
in class Object
- Returns:
- a string representation of this purpose