Package org.forgerock.openig.secrets
Class Base64PropertyFormat
java.lang.Object
org.forgerock.openig.secrets.Base64PropertyFormat
- All Implemented Interfaces:
SecretPropertyFormat,SecretDecoder
A
SecretPropertyFormat for a BASE64 format.
Usage:
{
"type": "Base64PropertyFormat"
}
Note that it's not necessary to create new instances of this format. An instance of this object is already
present in the heap at key Keys.BASE64_PROPERTY_FORMAT.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvide theBase64PropertyFormat'sComponentTypeDefinition.static classAssocatedBase64PropertyFormatheaplet. -
Field Summary
Fields inherited from interface org.forgerock.secrets.SecretDecoder
RAWFields inherited from interface org.forgerock.secrets.propertyresolver.SecretPropertyFormat
PLAIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDecodes the input property value, setting relevant properties on aSecretBuilderobject.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.forgerock.secrets.propertyresolver.SecretPropertyFormat
decodeToPromise, decodeToPromise
-
Constructor Details
-
Base64PropertyFormat
public Base64PropertyFormat()
-
-
Method Details
-
decode
Description copied from interface:SecretPropertyFormatDecodes the input property value, setting relevant properties on aSecretBuilderobject.- Specified by:
decodein interfaceSecretPropertyFormat- Parameters:
value- the value of the secret property.- Returns:
- the decoded secret information.
- Throws:
NoSuchSecretException- If the property value does not contain a value that can be decoded.
-