xref: /freebsd/crypto/openssl/doc/man3/ASN1_INTEGER_new.pod (revision 70bc3f4331a1b6e7045ae5326cbe03428503b612)
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.
21
22B<ASN1_INTEGER> structure representing the ASN.1 INTEGER type
23
24=head1 RETURN VALUES
25
26ASN1_INTEGER_new() return a valid B<ASN1_INTEGER> structure or NULL
27if an error occurred.
28
29ASN1_INTEGER_free() does not return a value.
30
31=head1 SEE ALSO
32
33L<ERR_get_error(3)>
34
35=head1 COPYRIGHT
36
37Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
38
39Licensed under the Apache License 2.0 (the "License").  You may not use
40this file except in compliance with the License.  You can obtain a copy
41in the file LICENSE in the source distribution or at
42L<https://www.openssl.org/source/license.html>.
43
44=cut
45