RSAKeyPair, RSAPublicKey, SymmetricKeypublic class Key
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Optional<java.lang.String> |
keyId |
|
protected KeyType |
keyType |
| Constructor | Description |
|---|---|
Key() |
|
Key(java.util.Optional<java.lang.String> keyId,
KeyType keyType,
Use use) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<java.lang.String> |
getKeyId() |
|
KeyType |
getKeyType() |
|
Use |
getUse() |
|
void |
setKeyId(java.util.Optional<java.lang.String> keyId) |
|
void |
setKeyType(KeyType keyType) |
|
void |
setUse(Use use) |
protected java.util.Optional<java.lang.String> keyId
protected KeyType keyType
public KeyType getKeyType()
public void setKeyType(KeyType keyType)
public java.util.Optional<java.lang.String> getKeyId()
public void setKeyId(java.util.Optional<java.lang.String> keyId)
public Use getUse()
public void setUse(Use use)