diff options
author | Ingela Anderton Andin <[email protected]> | 2015-05-07 13:29:16 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-05-07 15:50:56 +0200 |
commit | d34eab98d034598f2e9ed96c8e3aa992cb633bc8 (patch) | |
tree | be18e1b7e0816b12da28ee68f8cf11ed7097a362 /lib/public_key/doc/src/using_public_key.xml | |
parent | 25575183ca581a080478ad499e308a76e44e4def (diff) | |
download | otp-d34eab98d034598f2e9ed96c8e3aa992cb633bc8.tar.gz otp-d34eab98d034598f2e9ed96c8e3aa992cb633bc8.tar.bz2 otp-d34eab98d034598f2e9ed96c8e3aa992cb633bc8.zip |
public_key: Correct application names and typos
Diffstat (limited to 'lib/public_key/doc/src/using_public_key.xml')
-rw-r--r-- | lib/public_key/doc/src/using_public_key.xml | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/lib/public_key/doc/src/using_public_key.xml b/lib/public_key/doc/src/using_public_key.xml index 69b8c0dcb9..aaf802cd34 100644 --- a/lib/public_key/doc/src/using_public_key.xml +++ b/lib/public_key/doc/src/using_public_key.xml @@ -30,8 +30,8 @@ </header> <p>This section describes examples of how to use the - <c>public_key</c> API. Keys and certificates used in the following - sections are generated only for testing the <c>public_key</c> + Public Key API. Keys and certificates used in the following + sections are generated only for testing the Public Key application.</p> <p>Some shell printouts in the following examples @@ -43,14 +43,15 @@ <p>Public-key data (keys, certificates, and so on) can be stored in Privacy Enhanced Mail (PEM) format. The PEM files have the following structure:</p> - - <code><text> - -----BEGIN <SOMETHING>----- - <Attribute> : <Value> - <Base64 encoded DER data> - -----END <SOMETHING>----- - <text></code> - + + <code> + <text> + -----BEGIN <SOMETHING>----- + <Attribute> : <Value> + <Base64 encoded DER data> + -----END <SOMETHING>----- + <text></code> + <p>A file can contain several <c>BEGIN/END</c> blocks. Text lines between blocks are ignored. Attributes, if present, are ignored except for <c>Proc-Type</c> and <c>DEK-Info</c>, which are used when <c>DER</c> @@ -59,7 +60,7 @@ <section> <title>DSA Private Key</title> <p>A DSA private key can look as follows:</p> - <note><p>File handling is not done by the <c>public_key</c> application.</p></note> + <note><p>File handling is not done by the Public Key application.</p></note> <code>1> {ok, PemBin} = file:read_file("dsa.pem"). {ok,<<"-----BEGIN DSA PRIVATE KEY-----\nMIIBuw"...>>}</code> @@ -364,7 +365,7 @@ ok</code> <section> <title>RSA Public-Key Cryptography</title> - <p>Suppose you have the followwing private key and a corresponding public key:</p> + <p>Suppose you have the following private key and a corresponding public key:</p> <list type="bulleted"> <item><c>PrivateKey = #'RSAPrivateKey{}'</c> and the plaintext <c>Msg = binary()</c></item> |