t
Title: base64
Author:
Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
Date: 09/04/2012
Manual: Tools Reference
Source: OpenDJ 2.5.0
Language: English

"BASE64" "1" "09/04/2012" "OpenDJ 2.5.0" "Tools Reference"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"NAME"
base64 - encode and decode base64 strings
"SYNOPSIS"

\w'base64 subcommand 'u base64 subcommand {options}

"DESCRIPTION"

This utility can be used to encode and decode information using base64.

"SUBCOMMANDS"

The following subcommands are supported.

base64 decode

Decode base64-encoded information into raw data When no options are specified, this subcommand reads from standard input and writes to standard output.

-d, --encodedData {data}

The base64-encoded data to be decoded

-f, --encodedDataFile {path}

The path to a file containing the base64-encoded data to be decoded

-o, --toRawFile {path}

The path to a file to which the raw base64-decoded data should be written

base64 encode

Encode raw data using base64 When no options are specified, this subcommand reads from standard input and writes to standard output.

-d, --rawData {data}

The raw data to be base64 encoded

-f, --rawDataFile {path}

The path to a file containing the raw data to be base64 encoded

-o, --toEncodedFile {path}

The path to a file to which the base64-encoded data should be written

"GENERAL OPTIONS"

-V, --version

Display version information

-?, -H, --help

Display usage information

"EXIT CODES"

0

The command completed successfully.

> 0

An error occurred.

"EXAMPLES"

The 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
-
.\}
"COPYRIGHT"

Copyright \(co 2011-2012 ForgeRock AS