summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/X509_PUBKEY_new.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/X509_PUBKEY_new.3')
-rw-r--r--src/lib/libcrypto/man/X509_PUBKEY_new.319
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
134The 134The
135.Vt X509_PUBKEY 135.Vt X509_PUBKEY
136structure represents the ASN.1 SubjectPublicKeyInfo structure defined 136structure represents the ASN.1
137in RFC 5280 section 4.1 and used in certificates and certificate 137.Vt SubjectPublicKeyInfo
138requests. 138structure defined in RFC 5280 section 4.1 and used in certificates
139and certificate requests.
139.Pp 140.Pp
140.Fn X509_PUBKEY_new 141.Fn X509_PUBKEY_new
141allocates and initializes an 142allocates and initializes an
@@ -179,7 +180,9 @@ and
179.Fn i2d_PUBKEY 180.Fn i2d_PUBKEY
180decode and encode an 181decode and encode an
181.Vt EVP_PKEY 182.Vt EVP_PKEY
182structure using SubjectPublicKeyInfo format. 183structure using
184.Vt SubjectPublicKeyInfo
185format.
183They otherwise follow the conventions of other ASN.1 functions such as 186They 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 ,
226and 229and
227.Pf * Fa pa 230.Pf * Fa pa
228is set to the associated AlgorithmIdentifier for the public key. 231is set to the associated
232.Vt AlgorithmIdentifier
233for the public key.
229If the value of any of these parameters is not required, 234If the value of any of these parameters is not required,
230it can be set to 235it can be set to
231.Dv NULL . 236.Dv NULL .