VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.1/doc/man3/ASN1_STRING_new.pod@ 94102

最後變更 在這個檔案從94102是 94082,由 vboxsync 提交於 3 年 前

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

檔案大小: 1.2 KB
 
1=pod
2
3=head1 NAME
4
5ASN1_STRING_new, ASN1_STRING_type_new, ASN1_STRING_free -
6ASN1_STRING allocation functions
7
8=head1 SYNOPSIS
9
10 #include <openssl/asn1.h>
11
12 ASN1_STRING *ASN1_STRING_new(void);
13 ASN1_STRING *ASN1_STRING_type_new(int type);
14 void ASN1_STRING_free(ASN1_STRING *a);
15
16=head1 DESCRIPTION
17
18ASN1_STRING_new() returns an allocated B<ASN1_STRING> structure. Its type
19is undefined.
20
21ASN1_STRING_type_new() returns an allocated B<ASN1_STRING> structure of
22type I<type>.
23
24ASN1_STRING_free() frees up I<a>.
25If I<a> is NULL nothing is done.
26
27=head1 NOTES
28
29Other string types call the B<ASN1_STRING> functions. For example
30ASN1_OCTET_STRING_new() calls ASN1_STRING_type(V_ASN1_OCTET_STRING).
31
32=head1 RETURN VALUES
33
34ASN1_STRING_new() and ASN1_STRING_type_new() return a valid
35B<ASN1_STRING> structure or NULL if an error occurred.
36
37ASN1_STRING_free() does not return a value.
38
39=head1 SEE ALSO
40
41L<ERR_get_error(3)>
42
43=head1 COPYRIGHT
44
45Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
46
47Licensed under the Apache License 2.0 (the "License"). You may not use
48this file except in compliance with the License. You can obtain a copy
49in the file LICENSE in the source distribution or at
50L<https://www.openssl.org/source/license.html>.
51
52=cut
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette