Interface VaultTransitKey
public interface VaultTransitKey
A key inside Vault's
transit
backend.- Author:
- Mark Paluch, Sven Schürmann
-
Method Details
-
getName
String getName()- Returns:
- name of the key
-
getType
String getType()- Returns:
- the key type (
aes-gcm
,ecdsa-p256
, ...).
-
isDeletionAllowed
boolean isDeletionAllowed()- Returns:
- true if deletion of the key is allowed. Key deletion must be turned on to make keys deletable.
-
isDerived
boolean isDerived()- Returns:
- true if key derivation MUST be used.
-
isExportable
boolean isExportable()- Returns:
- true if the raw key is exportable.
-
getKeys
- Returns:
- a
Map
of key version to its Vault-specific representation.
-
getLatestVersion
int getLatestVersion()- Returns:
- the latest key version.
-
getMinDecryptionVersion
int getMinDecryptionVersion()- Returns:
- required key version to still be able to decrypt data.
-
getMinEncryptionVersion
int getMinEncryptionVersion()- Returns:
- required key version to encrypt data.
- Since:
- 1.1
-
supportsDecryption
boolean supportsDecryption()- Returns:
- whether the key supports decryption.
- Since:
- 1.1
-
supportsEncryption
boolean supportsEncryption()- Returns:
- whether the key supports encryption.
- Since:
- 1.1
-
supportsDerivation
boolean supportsDerivation()- Returns:
- whether the key supports derivation.
- Since:
- 1.1
-
supportsSigning
boolean supportsSigning()- Returns:
- whether the key supports signing.
- Since:
- 1.1
-