xref: /freebsd/crypto/openssl/doc/man3/ASN1_INTEGER_new.pod (revision 53bb5613a8a15363718b6e6de8d965bf9a2c5469)
1=pod
2
3=head1 NAME
4
5ASN1_INTEGER_new, ASN1_INTEGER_free - ASN1_INTEGER allocation functions
6
7=head1 SYNOPSIS
8
9=for openssl generic
10
11 #include <openssl/asn1.h>
12
13 ASN1_INTEGER *ASN1_INTEGER_new(void);
14 void ASN1_INTEGER_free(ASN1_INTEGER *a);
15
16=head1 DESCRIPTION
17
18ASN1_INTEGER_new() returns an allocated B<ASN1_INTEGER> structure.
19
20ASN1_INTEGER_free() frees up a single B<ASN1_INTEGER> object.
21If the argument is NULL, nothing is done.
22
23B<ASN1_INTEGER> structure representing the ASN.1 INTEGER type
24
25=head1 RETURN VALUES
26
27ASN1_INTEGER_new() return a valid B<ASN1_INTEGER> structure or NULL
28if an error occurred.
29
30ASN1_INTEGER_free() does not return a value.
31
32=head1 SEE ALSO
33
34L<ERR_get_error(3)>
35
36=head1 COPYRIGHT
37
38Copyright 2020-2024 The OpenSSL Project Authors. All Rights Reserved.
39
40Licensed under the Apache License 2.0 (the "License").  You may not use
41this file except in compliance with the License.  You can obtain a copy
42in the file LICENSE in the source distribution or at
43L<https://www.openssl.org/source/license.html>.
44
45=cut
46