forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add documentation for GENERAL_NAME_create()
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
=pod | ||
|
||
=head1 NAME | ||
|
||
GENERAL_NAME_create, | ||
|
||
=head1 SYNOPSIS | ||
|
||
#include <openssl/x509v3.h> | ||
|
||
int GENERAL_NAME_create(GENERAL_NAME **tgt, const X509_NAME *src); | ||
|
||
=head1 DESCRIPTION | ||
|
||
GENERAL_NAME_create() creates a new GENERAL_NAME of type GEN_DIRNAME | ||
and populates it based on provided X509_NAME I<src> which can be NULL. | ||
If I<tgt> must not be NULL. If successful, I<*tgt> will be set to point | ||
to the newly created GENERAL_NAME. | ||
|
||
=head1 NOTES | ||
=head1 RETURN VALUES | ||
|
||
GENERAL_NAME_create() return 1 on success, 0 on error. | ||
|
||
=head1 SEE ALSO | ||
=head1 HISTORY | ||
|
||
GENERAL_NAME_create() was added in OpenSSL 3.3. | ||
|
||
=head1 COPYRIGHT | ||
|
||
Copyright 2007-2024 The OpenSSL Project Authors. All Rights Reserved. | ||
|
||
Licensed under the Apache License 2.0 (the "License"). You may not use | ||
this file except in compliance with the License. You can obtain a copy | ||
in the file LICENSE in the source distribution or at | ||
L<https://www.openssl.org/source/license.html>. | ||
|
||
=cut |