public static class KeyDescriptor.KeyType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static KeyDescriptor.KeyType |
ENCRYPTION
Indicates key can be used for Encryption
|
static KeyDescriptor.KeyType |
SIGNING
Indicates key can be used for Signing
|
| Constructor and Description |
|---|
KeyType(java.lang.String value)
Creates a new
KeyType object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this
KeyType object to the specified object. |
java.lang.String |
getValue()
Returns the value of this
KeyType. |
int |
hashCode()
Returns the hash code for this instance.
|
java.lang.String |
toString()
Returns a description of this
KeyType. |
public static final KeyDescriptor.KeyType ENCRYPTION
public static final KeyDescriptor.KeyType SIGNING
public KeyType(java.lang.String value)
KeyType object.value - A String usage value.public java.lang.String getValue()
KeyType.public java.lang.String toString()
KeyType.toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
KeyType object to the specified object.equals in class java.lang.Objecto - The object to compare to.boolean value.