]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/OSSL_CRMF_MSG_set1_regInfo_certReq.pod
Make BIGNUM rand functions available within the FIPS module
[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
20OSSL_CRMF_MSG_set1_regInfo_utf8Pairs() adds a copy of the given B<utf8pairs>
21value as utf8Pairs regInfo to the given B<msg>. See RFC 4211 section 7.1.
22
23OSSL_CRMF_MSG_set1_regInfo_certReq() adds a copy of the given B<cr> value
24as certReq regInfo to the given B<msg>. See RFC 4211 section 7.2.
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
33control to the regInfo structure of the given B<msg>. While RFC 4211 expects
34multiple utf8Pairs in one regInfo structure, it does not allow multiple certReq.
35
36=head1 SEE ALSO
37
38RFC 4211
39
40=head1 COPYRIGHT
41
8869ad4a 42Copyright 2007-2019 The OpenSSL Project Authors. All Rights Reserved.
2a3b52ea 43
ce9b9964 44Licensed under the Apache License 2.0 (the "License"). You may not use
2a3b52ea
DO
45this file except in compliance with the License. You can obtain a copy
46in the file LICENSE in the source distribution or at
47L<https://www.openssl.org/source/license.html>.
48
49=cut