0N/A<?
xml version="1.0" encoding="UTF-8"?>
0N/A ! This work is licensed under the Creative Commons 0N/A ! Attribution-NonCommercial-NoDerivs 3.0 Unported License. 2362N/A ! To view a copy of this license, visit 2362N/A ! or send a letter to Creative Commons, 444 Castro Street, 0N/A ! Suite 900, Mountain View, California, 94041, USA. 0N/A ! You can also obtain a copy of the license at 0N/A ! See the License for the specific language governing permissions 0N/A ! and limitations under the License. 0N/A ! If applicable, add the following below this CCPL HEADER, with the fields 0N/A ! enclosed by brackets "[]" replaced with your own identifying information: 0N/A ! Portions Copyright [yyyy] [name of copyright owner] 2362N/A ! Copyright 2011-2014 ForgeRock AS 0N/A<
refentry xml:
id='base64-1' 0N/A version='5.0' xml:
lang='en' 0N/A <
info><
copyright><
year>2011-2014</
year><
holder>ForgeRock AS</
holder></
copyright></
info>
0N/A <
refentrytitle>base64</
refentrytitle><
manvolnum>1</
manvolnum>
0N/A <
refmiscinfo class="software">OpenDJ</
refmiscinfo>
0N/A <
refmiscinfo class="version"><?
eval ${
docTargetVersion}?></
refmiscinfo>
0N/A <
refname>base64</
refname>
0N/A <
refpurpose>encode and decode base64 strings</
refpurpose>
0N/A <
command>base64 <
replaceable>subcommand</
replaceable></
command>
0N/A <
arg choice="req">options</
arg>
0N/A <
title>Description</
title>
0N/A <
para>This utility can be used to encode and decode information using base64.</
para>
0N/A <
title>Subcommands</
title>
0N/A <
para>The following subcommands are supported.</
para>
0N/A <
term><
command>base64 decode</
command></
term>
0N/A <
para>Decode base64-encoded information into raw data</
para>
0N/A <
para>When no options are specified, this subcommand reads from standard
0N/A input and writes to standard output.</
para>
0N/A <
title>Decode Options</
title>
0N/A <
term><
option>-d, --encodedData {data}</
option></
term>
0N/A <
para>The base64-encoded data to be decoded</
para>
0N/A <
term><
option>-f, --encodedDataFile {path}</
option></
term>
0N/A <
para>The path to a file containing the base64-encoded data to be
0N/A <
term><
option>-o, --toRawFile {path}</
option></
term>
0N/A <
para>The path to a file to which the raw base64-decoded data should be
0N/A <
term><
command>base64 encode</
command></
term>
0N/A <
para>Encode raw data using base64</
para>
0N/A <
para>When no options are specified, this subcommand reads from standard
0N/A input and writes to standard output.</
para>
0N/A <
title>Decode Options</
title>
0N/A <
term><
option>-d, --rawData {data}</
option></
term>
0N/A <
para>The raw data to be base64 encoded</
para>
0N/A <
term><
option>-f, --rawDataFile {path}</
option></
term>
0N/A <
para>The path to a file containing the raw data to be base64
0N/A <
term><
option>-o, --toEncodedFile {path}</
option></
term>
0N/A <
para>The path to a file to which the base64-encoded data should be
0N/A <
title>General Options</
title>
0N/A <
term><
option>-V, --version</
option></
term>
0N/A <
para>Display version information</
para>
0N/A <
term><
option>-?, -H, --help</
option></
term>
0N/A <
para>Display usage information</
para>
0N/A <
title>Exit Codes</
title>
0N/A <
para>The command completed successfully.</
para>
0N/A <
para>An error occurred.</
para>
0N/A <
title>Examples</
title>
0N/A <
para>The following command shows the changes from the external change log
0N/A in human-readable format.</
para>
0N/A$ <
userinput>base64 decode -d YWRkOiBkZXNjcmlwdGlvbgpkZXNjcmlwdGlvbjogQSB0aGlyZCBjaGFuZ2UK\
0N/ALQpyZXBsYWNlOiBtb2RpZmllcnNOYW1lCm1vZGlmaWVyc05hbWU6IGNuPURpcmVjdG9yeSBNYW5hZ2V\
0N/AyLGNuPVJvb3QgRE5zLGNuPWNvbmZpZwotCnJlcGxhY2U6IG1vZGlmeVRpbWVzdGFtcAptb2RpZnlUaW\
0N/A1lc3RhbXA6IDIwMTEwNjEzMDcxMjEwWgotCg==</
userinput>
0N/A<
computeroutput>add: description
0N/Adescription: A third change
0N/Areplace: modifiersName
0N/AmodifiersName: cn=Directory Manager,cn=Root DNs,cn=config
0N/Areplace: modifyTimestamp
0N/AmodifyTimestamp: 20110613071210Z