2011-2012ForgeRock ASbase641OpenDJbase64encode and decode base64 stringsbase64 subcommandoptionsDescriptionThis utility can be used to encode and decode information using base64.SubcommandsThe following subcommands are supported.base64 decodeDecode base64-encoded information into raw dataWhen no options are specified, this subcommand reads from standard
input and writes to standard output.Decode OptionsThe base64-encoded data to be decodedThe path to a file containing the base64-encoded data to be
decodedThe path to a file to which the raw base64-decoded data should be
writtenbase64 encodeEncode raw data using base64When no options are specified, this subcommand reads from standard
input and writes to standard output.Decode OptionsThe raw data to be base64 encodedThe path to a file containing the raw data to be base64
encodedThe path to a file to which the base64-encoded data should be
writtenGeneral OptionsDisplay version informationDisplay usage informationExit Codes0The command completed successfully.> 0An error occurred.ExamplesThe following command shows the changes from the external change log
in human-readable format.$ base64 decode -d YWRkOiBkZXNjcmlwdGlvbgpkZXNjcmlwdGlvbjogQSB0aGlyZCBjaGFuZ2UK
LQpyZXBsYWNlOiBtb2RpZmllcnNOYW1lCm1vZGlmaWVyc05hbWU6IGNuPURpcmVjdG9yeSBNYW5hZ2V
yLGNuPVJvb3QgRE5zLGNuPWNvbmZpZwotCnJlcGxhY2U6IG1vZGlmeVRpbWVzdGFtcAptb2RpZnlUaW
1lc3RhbXA6IDIwMTEwNjEzMDcxMjEwWgotCg==
add: description
description: A third change
-
replace: modifiersName
modifiersName: cn=Directory Manager,cn=Root DNs,cn=config
-
replace: modifyTimestamp
modifyTimestamp: 20110613071210Z
-