public class VaultTransformContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VaultTransformContext.VaultTransformRequestBuilder
Builder for
VaultTransformContext . |
Modifier and Type | Method and Description |
---|---|
static VaultTransformContext.VaultTransformRequestBuilder |
builder() |
static VaultTransformContext |
empty() |
boolean |
equals(Object o) |
static VaultTransformContext |
fromTransformation(String transformation)
Create a
VaultTransformContext given transformation bytes. |
static VaultTransformContext |
fromTweak(byte[] tweak)
Create a
VaultTransformContext given tweak String. |
String |
getTransformation() |
byte[] |
getTweak() |
int |
hashCode() |
boolean |
isEmpty()
Return whether this object is an empty one.
|
public static VaultTransformContext.VaultTransformRequestBuilder builder()
VaultTransformContext.VaultTransformRequestBuilder
.public static VaultTransformContext empty()
VaultTransformContext
.public static VaultTransformContext fromTransformation(String transformation)
VaultTransformContext
given transformation
bytes.transformation
- name as a byte array, must not be null.VaultTransformContext
for transformation
.public static VaultTransformContext fromTweak(byte[] tweak)
VaultTransformContext
given tweak
String.tweak
- bytes, must be 7 characters long, must not be null.VaultTransformContext
for tweak
.public boolean isEmpty()
true
if this object is empty.public String getTransformation()
public byte[] getTweak()
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.