]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/GENERAL_NAME.pod
CMP: Improvements of the support for requesting CRL
[thirdparty/openssl.git] / doc / man3 / GENERAL_NAME.pod
CommitLineData
40a200f9
DDO
1=pod
2
3=head1 NAME
4
5GENERAL_NAME,
6GENERAL_NAME_set1_X509_NAME
7- GENERAL_NAME method routines
8
9=head1 SYNOPSIS
10
11 #include <openssl/x509v3.h>
12
13 typedef struct GENERAL_NAME_st GENERAL_NAME;
14
15 int GENERAL_NAME_set1_X509_NAME(GENERAL_NAME **tgt, const X509_NAME *src);
16
17=head1 DESCRIPTION
18
19GENERAL_NAME_set1_X509_NAME() creates a new GENERAL_NAME of type GEN_DIRNAME
20and populates it based on provided X509_NAME I<src> which can be NULL.
21I<tgt> must not be NULL. If successful, I<*tgt> will be set to point
22to the newly created GENERAL_NAME.
23
24=head1 RETURN VALUES
25
26GENERAL_NAME_set1_X509_NAME() return 1 on success, 0 on error.
27
28=head1 HISTORY
29
ee28152e 30GENERAL_NAME_set1_X509_NAME() was added in OpenSSL 3.4.
40a200f9
DDO
31
32=head1 COPYRIGHT
33
34Copyright 2007-2024 The OpenSSL Project Authors. All Rights Reserved.
35
36Licensed under the Apache License 2.0 (the "License"). You may not use
37this file except in compliance with the License. You can obtain a copy
38in the file LICENSE in the source distribution or at
39L<https://www.openssl.org/source/license.html>.
40
41=cut