-.\" $OpenBSD: openssl.1,v 1.159 2024/08/22 12:15:07 tb Exp $
+.\" $OpenBSD: openssl.1,v 1.160 2024/08/29 17:01:40 tb Exp $
.\" ====================================================================
.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
.\"
.\" copied and put under another distribution licence
.\" [including the GNU Public Licence.]
.\"
-.Dd $Mdocdate: August 22 2024 $
+.Dd $Mdocdate: August 29 2024 $
.Dt OPENSSL 1
.Os
.Sh NAME
.Bl -hang -width "openssl pkey"
.It Nm openssl pkey
.Bk -words
-.Op Fl check
.Op Ar cipher
.Op Fl in Ar file
.Op Fl inform Cm der | pem
.Op Fl outform Cm der | pem
.Op Fl passin Ar arg
.Op Fl passout Ar arg
-.Op Fl pubcheck
.Op Fl pubin
.Op Fl pubout
.Op Fl text
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl check
-Check the validity of a key pair.
.It Ar cipher
Encrypt the private key with the specified cipher.
Any algorithm name accepted by
The key password source.
.It Fl passout Ar arg
The output file password source.
-.It Fl pubcheck
-Check the validity of a public key
or the public component of a key pair.
.It Fl pubin
Read in a public key, not a private key.
.Tg pkeyparam
.Sh PKEYPARAM
.Cm openssl pkeyparam
-.Op Fl check
.Op Fl in Ar file
.Op Fl noout
.Op Fl out Ar file
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl check
-check the correctness of parameters.
.It Fl in Ar file
The input file to read from,
or standard input if not specified.