CMS print should support string conversion: docs
authorDmitry Belyavskiy <beldmit@gmail.com>
Fri, 19 Jun 2020 14:06:18 +0000 (17:06 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Wed, 24 Jun 2020 06:56:50 +0000 (09:56 +0300)
Documentation for -nameopt option

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12206)

doc/man1/openssl-cms.pod.in

index 5ef1219a2ef46c1102a5da3abad3f7b8d101a441..b4c57d37fffc2f7753701ba94e18884ccf0f456f 100644 (file)
@@ -44,6 +44,7 @@ B<openssl> B<cms>
 [B<-text>]
 [B<-noout>]
 [B<-print>]
+[B<-nameopt> I<option>]
 [B<-md> I<digest>]
 [B<-I<cipher>>]
 [B<-wrap> I<cipher>]
@@ -288,6 +289,12 @@ structure is being checked.
 For the B<-cmsout> operation print out all fields of the CMS structure. This
 is mainly useful for testing purposes.
 
+=item B<-nameopt> I<option>
+
+For the B<-cmsout> operation when B<-print> option is in use, specifies
+printing options for string fields. For most cases B<utf8> is reasonable value.
+See L<openssl(1)/Name Format Options> for details.
+
 =item B<-md> I<digest>
 
 Digest algorithm to use when signing or resigning. If not present then the
@@ -772,6 +779,8 @@ The -no_alt_chains option was added in OpenSSL 1.0.2b.
 All B<-keyform> values except B<ENGINE> have become obsolete in OpenSSL 3.0.0
 and have no effect.
 
+The B<-nameopt> option was added in OpenSSL 3.0.0.
+
 =head1 COPYRIGHT
 
 Copyright 2008-2020 The OpenSSL Project Authors. All Rights Reserved.