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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanbooleanbooleangetType()Create a newVaultTransitKeyCreationRequestspecifically for atype.
-
Method Details
-
ofKeyType
Create a newVaultTransitKeyCreationRequestspecifically for atype.- Parameters:
type- the key type to use, must not be null or empty.- Returns:
- a new
VaultTransitKeyCreationRequestfor 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.
-