1 | =pod
|
---|
2 |
|
---|
3 | =head1 NAME
|
---|
4 |
|
---|
5 | crypto - OpenSSL cryptographic library
|
---|
6 |
|
---|
7 | =head1 SYNOPSIS
|
---|
8 |
|
---|
9 | See the individual manual pages for details.
|
---|
10 |
|
---|
11 | =head1 DESCRIPTION
|
---|
12 |
|
---|
13 | The OpenSSL B<crypto> library implements a wide range of cryptographic
|
---|
14 | algorithms used in various Internet standards. The services provided
|
---|
15 | by this library are used by the OpenSSL implementations of SSL, TLS
|
---|
16 | and S/MIME, and they have also been used to implement SSH, OpenPGP, and
|
---|
17 | other cryptographic standards.
|
---|
18 |
|
---|
19 | B<libcrypto> consists of a number of sub-libraries that implement the
|
---|
20 | individual algorithms.
|
---|
21 |
|
---|
22 | The functionality includes symmetric encryption, public key
|
---|
23 | cryptography and key agreement, certificate handling, cryptographic
|
---|
24 | hash functions, cryptographic pseudo-random number generator, and
|
---|
25 | various utilities.
|
---|
26 |
|
---|
27 | =head1 NOTES
|
---|
28 |
|
---|
29 | Some of the newer functions follow a naming convention using the numbers
|
---|
30 | B<0> and B<1>. For example the functions:
|
---|
31 |
|
---|
32 | int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
|
---|
33 | int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj);
|
---|
34 |
|
---|
35 | The B<0> version uses the supplied structure pointer directly
|
---|
36 | in the parent and it will be freed up when the parent is freed.
|
---|
37 | In the above example B<crl> would be freed but B<rev> would not.
|
---|
38 |
|
---|
39 | The B<1> function uses a copy of the supplied structure pointer
|
---|
40 | (or in some cases increases its link count) in the parent and
|
---|
41 | so both (B<x> and B<obj> above) should be freed up.
|
---|
42 |
|
---|
43 | =head1 RETURN VALUES
|
---|
44 |
|
---|
45 | See the individual manual pages for details.
|
---|
46 |
|
---|
47 | =head1 SEE ALSO
|
---|
48 |
|
---|
49 | L<openssl(1)>, L<ssl(7)>
|
---|
50 |
|
---|
51 | =head1 COPYRIGHT
|
---|
52 |
|
---|
53 | Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
|
---|
54 |
|
---|
55 | Licensed under the OpenSSL license (the "License"). You may not use
|
---|
56 | this file except in compliance with the License. You can obtain a copy
|
---|
57 | in the file LICENSE in the source distribution or at
|
---|
58 | L<https://www.openssl.org/source/license.html>.
|
---|
59 |
|
---|
60 | =cut
|
---|