public final class EncryptionUtils extends Object
Constructor and Description |
---|
EncryptionUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
resolveKeyId(String value,
Supplier<EvaluationContext> evaluationContext)
Resolve a given plain
String value into the store native keyId format, considering potential
expressions . |
@Nullable public static Object resolveKeyId(String value, Supplier<EvaluationContext> evaluationContext)
String
value into the store native keyId format, considering potential
expressions
. UUID value
or decoded from the
base64 representation prior to conversion into its Binary
format.value
- the source value to resolve the keyId for. Must not be null.evaluationContext
- a Supplier
used to provide the EvaluationContext
in case an
Expression
is detected
.IllegalArgumentException
- if one of the required arguments is null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.