Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • c2cf0b7
  • /
  • doc
  • /
  • man3
  • /
  • GENERAL_NAME.pod
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:0bd13dc3ad5a741078ec1aab9054d0eba52148f7
directory badge Iframe embedding
swh:1:dir:e72ef10f5660b1676bea7a66f410ad096241641f
GENERAL_NAME.pod
=pod

=head1 NAME

GENERAL_NAME,
GENERAL_NAME_set1_X509_NAME
- GENERAL_NAME method routines

=head1 SYNOPSIS

 #include <openssl/x509v3.h>

 typedef struct GENERAL_NAME_st GENERAL_NAME;

 int GENERAL_NAME_set1_X509_NAME(GENERAL_NAME **tgt, const X509_NAME *src);

=head1 DESCRIPTION

GENERAL_NAME_set1_X509_NAME() creates a new GENERAL_NAME of type GEN_DIRNAME
and populates it based on provided X509_NAME I<src> which can be NULL.
I<tgt> must not be NULL. If successful, I<*tgt> will be set to point
to the newly created GENERAL_NAME.

=head1 RETURN VALUES

GENERAL_NAME_set1_X509_NAME() return 1 on success, 0 on error.

=head1 HISTORY

GENERAL_NAME_set1_X509_NAME() was added in OpenSSL 3.4.

=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

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top