public static class VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder extends Object
VaultTransitKeyCreationRequest
.Modifier and Type | Method and Description |
---|---|
VaultTransitKeyCreationRequest |
build()
Build a new
VaultTransitKeyCreationRequest instance. |
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder |
convergentEncryption(boolean convergentEncryption)
Configure convergent encryption where the same plaintext creates the same
ciphertext.
|
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder |
derived(boolean derived)
Configure key derivation.
|
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder |
exportable(boolean exportable)
Configure if the raw key is exportable.
|
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder |
type(String type)
Configure the key type.
|
public VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder type(String type)
type
- the type of key to create, must not be empty or null.this
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder
.public VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder derived(boolean derived)
derived
- true if key derivation MUST be used. If enabled, all
encrypt/decrypt requests to this named key must provide a context which is used
for key derivation. Defaults to false.this
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder
.public VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder convergentEncryption(boolean convergentEncryption)
derived(boolean)
to be true.convergentEncryption
- true the same plaintext creates the same
ciphertext. Defaults to false.this
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder
.public VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder exportable(boolean exportable)
exportable
- true the raw key is exportable. Defaults to
false.this
VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder
.public VaultTransitKeyCreationRequest build()
VaultTransitKeyCreationRequest
instance. Requires
type(String)
to be configured.VaultTransitKeyCreationRequest
.Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.