summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/openssl.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/openssl.1')
-rw-r--r--src/usr.bin/openssl/openssl.114
1 files changed, 9 insertions, 5 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index c430e49f0f..4c9d15b9d1 100644
--- a/src/usr.bin/openssl/openssl.1
+++ b/src/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.143 2023/04/25 16:11:02 tb Exp $ 1.\" $OpenBSD: openssl.1,v 1.144 2023/05/05 18:01:27 tb Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -110,7 +110,7 @@
110.\" copied and put under another distribution licence 110.\" copied and put under another distribution licence
111.\" [including the GNU Public Licence.] 111.\" [including the GNU Public Licence.]
112.\" 112.\"
113.Dd $Mdocdate: April 25 2023 $ 113.Dd $Mdocdate: May 5 2023 $
114.Dt OPENSSL 1 114.Dt OPENSSL 1
115.Os 115.Os
116.Sh NAME 116.Sh NAME
@@ -3505,6 +3505,8 @@ for PKCS#1 padding;
3505for no padding; 3505for no padding;
3506.Cm oaep 3506.Cm oaep
3507for OAEP mode; 3507for OAEP mode;
3508.Cm x931
3509for X9.31 mode;
3508and 3510and
3509.Cm pss 3511.Cm pss
3510for PSS. 3512for PSS.
@@ -3515,6 +3517,8 @@ If a digest is set then a DigestInfo
3515structure is used and its length 3517structure is used and its length
3516must correspond to the digest type. 3518must correspond to the digest type.
3517For oeap mode only encryption and decryption is supported. 3519For oeap mode only encryption and decryption is supported.
3520For x931 if the digest type is set it is used to format the block data;
3521otherwise the first byte is used to specify the X9.31 digest ID.
3518Sign, verify, and verifyrecover can be performed in this mode. 3522Sign, verify, and verifyrecover can be performed in this mode.
3519For pss mode only sign and verify are supported and the digest type must be 3523For pss mode only sign and verify are supported and the digest type must be
3520specified. 3524specified.
@@ -4178,7 +4182,7 @@ Print the public/private key components in plain text.
4178.Op Fl in Ar file 4182.Op Fl in Ar file
4179.Op Fl inkey Ar file 4183.Op Fl inkey Ar file
4180.Op Fl keyform Cm der | pem 4184.Op Fl keyform Cm der | pem
4181.Op Fl oaep | pkcs | raw 4185.Op Fl oaep | pkcs | raw | x931
4182.Op Fl out Ar file 4186.Op Fl out Ar file
4183.Op Fl passin Ar arg 4187.Op Fl passin Ar arg
4184.Op Fl pubin 4188.Op Fl pubin
@@ -4216,9 +4220,9 @@ The input key file; by default an RSA private key.
4216The private key format. 4220The private key format.
4217The default is 4221The default is
4218.Cm pem . 4222.Cm pem .
4219.It Fl oaep | pkcs | raw 4223.It Fl oaep | pkcs | raw | x931
4220The padding to use: 4224The padding to use:
4221PKCS#1 OAEP, PKCS#1 v1.5 (the default), no padding, 4225PKCS#1 OAEP, PKCS#1 v1.5 (the default), no padding, or ANSI X9.31,
4222respectively. 4226respectively.
4223For signatures, only 4227For signatures, only
4224.Fl pkcs 4228.Fl pkcs