summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/UI_new.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/UI_new.3')
-rw-r--r--src/lib/libcrypto/man/UI_new.325
1 files changed, 13 insertions, 12 deletions
diff --git a/src/lib/libcrypto/man/UI_new.3 b/src/lib/libcrypto/man/UI_new.3
index 0974b00b02..2b0ce5b557 100644
--- a/src/lib/libcrypto/man/UI_new.3
+++ b/src/lib/libcrypto/man/UI_new.3
@@ -1,8 +1,9 @@
1.\" $OpenBSD: UI_new.3,v 1.5 2017/01/06 18:46:38 schwarze Exp $ 1.\" $OpenBSD: UI_new.3,v 1.6 2017/03/26 00:06:10 schwarze Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL UI_new.pod 5469600e Mar 11 00:51:53 2017 +0100
3.\" OpenSSL UI_new.pod 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 4.\"
4.\" This file was written by Richard Levitte <levitte@openssl.org>. 5.\" This file was written by Richard Levitte <levitte@openssl.org>.
5.\" Copyright (c) 2001, 2016 The OpenSSL Project. All rights reserved. 6.\" Copyright (c) 2001, 2016, 2017 The OpenSSL Project. All rights reserved.
6.\" 7.\"
7.\" Redistribution and use in source and binary forms, with or without 8.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions 9.\" modification, are permitted provided that the following conditions
@@ -48,7 +49,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 51.\"
51.Dd $Mdocdate: January 6 2017 $ 52.Dd $Mdocdate: March 26 2017 $
52.Dt UI_NEW 3 53.Dt UI_NEW 3
53.Os 54.Os
54.Sh NAME 55.Sh NAME
@@ -228,12 +229,8 @@
228.Sh DESCRIPTION 229.Sh DESCRIPTION
229UI stands for User Interface, and is a general purpose set of routines 230UI stands for User Interface, and is a general purpose set of routines
230to prompt the user for text-based information. 231to prompt the user for text-based information.
231Through user-written methods (see the functions 232Through user-written methods (see
232.Fn UI_create_method 233.Xr UI_create_method 3 ) ,
233and
234.Fn UI_method_set_*
235declared in
236.In openssl/ui.h ) ,
237prompting can be done in any way imaginable, be it plain text prompting, 234prompting can be done in any way imaginable, be it plain text prompting,
238through dialog boxes or from a cell phone. 235through dialog boxes or from a cell phone.
239.Pp 236.Pp
@@ -402,7 +399,8 @@ indexed by
402.Pp 399.Pp
403.Fn UI_process 400.Fn UI_process
404goes through the information given so far, does all the printing and 401goes through the information given so far, does all the printing and
405prompting and returns. 402prompting and returns the final status, which is -2 on out-of-band
403events (Interrupt, Cancel, ...), -1 on error, or 0 on success.
406.Pp 404.Pp
407.Fn UI_ctrl 405.Fn UI_ctrl
408adds extra control for the application author. 406adds extra control for the application author.
@@ -432,7 +430,10 @@ returns the UI method associated with a given
432changes the UI method associated with a given 430changes the UI method associated with a given
433.Fa ui . 431.Fa ui .
434.Sh SEE ALSO 432.Sh SEE ALSO
435.Xr des_read_pw 3 433.Xr des_read_pw 3 ,
434.Xr UI_create_method 3 ,
435.Xr UI_get_string_type 3 ,
436.Xr UI_UTIL_read_pw 3
436.Sh HISTORY 437.Sh HISTORY
437The UI section was first introduced in OpenSSL 0.9.7. 438The UI section was first introduced in OpenSSL 0.9.7.
438.Sh AUTHORS 439.Sh AUTHORS