public static class VaultTransformContext.VaultTransformRequestBuilder extends Object
VaultTransformContext
.Modifier and Type | Method and Description |
---|---|
VaultTransformContext |
build()
Build a new
VaultTransformContext instance. |
VaultTransformContext.VaultTransformRequestBuilder |
transformation(String transformation)
Configure a transformation to be used with the
transform operation. |
VaultTransformContext.VaultTransformRequestBuilder |
tweak(byte[] tweak)
Configure the tweak value for a
transform operation. |
public VaultTransformContext.VaultTransformRequestBuilder transformation(String transformation)
transform
operation.transformation
- name, provided as a String.this
VaultTransformContext.VaultTransformRequestBuilder
.public VaultTransformContext.VaultTransformRequestBuilder tweak(byte[] tweak)
transform
operation. Must be provided
during decoding for all transformations with a tweak_source of "supplied" or
"generated". Must be provided during encoding for all transformations with a
tweak_source of "supplied".tweak
- value must be exactly 56 bits (7 bytes), value must be supplied
during any subsequent decoding after an encoding. Failure to do so will result
in a decode that does not return the original value.this
VaultTransformContext.VaultTransformRequestBuilder
.public VaultTransformContext build()
VaultTransformContext
instance.VaultTransformContext
.Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.