]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/OSSL_CRMF_MSG_set1_regInfo_certReq.pod
Update copyright year
[thirdparty/openssl.git] / doc / man3 / OSSL_CRMF_MSG_set1_regInfo_certReq.pod
CommitLineData
2a3b52ea
DO
1=pod
2
3=head1 NAME
4
5OSSL_CRMF_MSG_set1_regInfo_utf8Pairs,
6OSSL_CRMF_MSG_set1_regInfo_certReq
7- functions setting CRMF Registration Info
8
9=head1 SYNOPSIS
10
11 #include <openssl/crmf.h>
12
13 int OSSL_CRMF_MSG_set1_regInfo_utf8Pairs(OSSL_CRMF_MSG *msg,
14 const ASN1_UTF8STRING *utf8pairs);
15 int OSSL_CRMF_MSG_set1_regInfo_certReq(OSSL_CRMF_MSG *msg,
16 const OSSL_CRMF_CERTREQUEST *cr);
17
18=head1 DESCRIPTION
19
6d1f50b5
DDO
20OSSL_CRMF_MSG_set1_regInfo_utf8Pairs() adds a copy of the given I<utf8pairs>
21value as utf8Pairs regInfo to the given I<msg>. See RFC 4211 section 7.1.
2a3b52ea 22
6d1f50b5
DDO
23OSSL_CRMF_MSG_set1_regInfo_certReq() adds a copy of the given I<cr> value
24as certReq regInfo to the given I<msg>. See RFC 4211 section 7.2.
2a3b52ea
DO
25
26=head1 RETURN VALUES
27
28All functions return 1 on success, 0 on error.
29
30=head1 NOTES
31
32Calling these functions multiple times adds multiple instances of the respective
6d1f50b5 33control to the regInfo structure of the given I<msg>. While RFC 4211 expects
2a3b52ea
DO
34multiple utf8Pairs in one regInfo structure, it does not allow multiple certReq.
35
36=head1 SEE ALSO
37
38RFC 4211
39
7960dbec
DDO
40=head1 HISTORY
41
42The OpenSSL CRMF support was added in OpenSSL 3.0.
43
2a3b52ea
DO
44=head1 COPYRIGHT
45
eec0ad10 46Copyright 2007-2020 The OpenSSL Project Authors. All Rights Reserved.
2a3b52ea 47
ce9b9964 48Licensed under the Apache License 2.0 (the "License"). You may not use
2a3b52ea
DO
49this file except in compliance with the License. You can obtain a copy
50in the file LICENSE in the source distribution or at
51L<https://www.openssl.org/source/license.html>.
52
53=cut