public enum PropertyFormatBase64 extends Enum<PropertyFormatBase64> implements SecretPropertyFormat
Enum Constant and Description |
---|
BASE64
Traditional base64 encoding.
|
BASE64URL
URL-safe base64 encoding.
|
Modifier and Type | Method and Description |
---|---|
SecretBuilder |
decode(String propertyValue)
Decodes the input property value, setting relevant properties on a
SecretBuilder object. |
static PropertyFormatBase64 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyFormatBase64[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
decodeToPromise
public static final PropertyFormatBase64 BASE64
public static final PropertyFormatBase64 BASE64URL
public static PropertyFormatBase64[] values()
for (PropertyFormatBase64 c : PropertyFormatBase64.values()) System.out.println(c);
public static PropertyFormatBase64 valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic SecretBuilder decode(String propertyValue)
SecretPropertyFormat
SecretBuilder
object.decode
in interface SecretPropertyFormat
propertyValue
- the value of the secret property.Copyright © 2010-2018, ForgeRock All Rights Reserved.