Class VaultTransitKeyCreationRequest
java.lang.Object
org.springframework.vault.support.VaultTransitKeyCreationRequest
Transit backend key creation request options.
- Author:
- Mark Paluch, Sven Schürmann
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
boolean
boolean
getType()
Create a newVaultTransitKeyCreationRequest
specifically for atype
.
-
Method Details
-
ofKeyType
Create a newVaultTransitKeyCreationRequest
specifically for atype
.- Parameters:
type
- the key type to use, must not be null or empty.- Returns:
- a new
VaultTransitKeyCreationRequest
for the given keytype
. - Since:
- 2.0
-
builder
-
getDerived
public boolean getDerived()- Returns:
- true if key derivation MUST be used.
-
getConvergentEncryption
public boolean getConvergentEncryption()- Returns:
- true if convergent encryption should be used (where the same plaintext creates the same cipher text).
-
getType
- Returns:
- the key type.
-
getExportable
public boolean getExportable()- Returns:
- true if key MUST be exportable.
-