diff options
Diffstat (limited to 'src/lib/libcrypto/man/X509_PUBKEY_new.3')
-rw-r--r-- | src/lib/libcrypto/man/X509_PUBKEY_new.3 | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/X509_PUBKEY_new.3 b/src/lib/libcrypto/man/X509_PUBKEY_new.3 index cd178a1ee0..0475fe65b2 100644 --- a/src/lib/libcrypto/man/X509_PUBKEY_new.3 +++ b/src/lib/libcrypto/man/X509_PUBKEY_new.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509_PUBKEY_new.3,v 1.3 2016/12/15 22:24:45 schwarze Exp $ | 1 | .\" $OpenBSD: X509_PUBKEY_new.3,v 1.4 2016/12/25 22:15:10 schwarze Exp $ |
2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
@@ -48,7 +48,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: December 15 2016 $ | 51 | .Dd $Mdocdate: December 25 2016 $ |
52 | .Dt X509_PUBKEY_NEW 3 | 52 | .Dt X509_PUBKEY_NEW 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -133,9 +133,10 @@ | |||
133 | .Sh DESCRIPTION | 133 | .Sh DESCRIPTION |
134 | The | 134 | The |
135 | .Vt X509_PUBKEY | 135 | .Vt X509_PUBKEY |
136 | structure represents the ASN.1 SubjectPublicKeyInfo structure defined | 136 | structure represents the ASN.1 |
137 | in RFC 5280 section 4.1 and used in certificates and certificate | 137 | .Vt SubjectPublicKeyInfo |
138 | requests. | 138 | structure defined in RFC 5280 section 4.1 and used in certificates |
139 | and certificate requests. | ||
139 | .Pp | 140 | .Pp |
140 | .Fn X509_PUBKEY_new | 141 | .Fn X509_PUBKEY_new |
141 | allocates and initializes an | 142 | allocates and initializes an |
@@ -179,7 +180,9 @@ and | |||
179 | .Fn i2d_PUBKEY | 180 | .Fn i2d_PUBKEY |
180 | decode and encode an | 181 | decode and encode an |
181 | .Vt EVP_PKEY | 182 | .Vt EVP_PKEY |
182 | structure using SubjectPublicKeyInfo format. | 183 | structure using |
184 | .Vt SubjectPublicKeyInfo | ||
185 | format. | ||
183 | They otherwise follow the conventions of other ASN.1 functions such as | 186 | They otherwise follow the conventions of other ASN.1 functions such as |
184 | .Xr d2i_X509 3 . | 187 | .Xr d2i_X509 3 . |
185 | .Pp | 188 | .Pp |
@@ -225,7 +228,9 @@ bytes at | |||
225 | .Pf * Fa pk , | 228 | .Pf * Fa pk , |
226 | and | 229 | and |
227 | .Pf * Fa pa | 230 | .Pf * Fa pa |
228 | is set to the associated AlgorithmIdentifier for the public key. | 231 | is set to the associated |
232 | .Vt AlgorithmIdentifier | ||
233 | for the public key. | ||
229 | If the value of any of these parameters is not required, | 234 | If the value of any of these parameters is not required, |
230 | it can be set to | 235 | it can be set to |
231 | .Dv NULL . | 236 | .Dv NULL . |