Add documentation for ASN1_INTEGER_new() and ASN1_INTEGER_free()
[openssl.git] / doc / man3 / ASN1_INTEGER_new.pod
1 =pod
2
3 =head1 NAME
4
5 ASN1_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
18 ASN1_INTEGER_new() returns an allocated B<ASN1_INTEGER> structure.
19
20 ASN1_INTEGER_free() frees up a single B<ASN1_INTEGER> object.
21
22 B<ASN1_INTEGER> structure representing the ASN.1 INTEGER type
23
24 =head1 RETURN VALUES
25
26 ASN1_INTEGER_new() return a valid B<ASN1_INTEGER> structure or NULL
27 if an error occurred.
28
29 ASN1_INTEGER_free() does not return a value.
30
31 =head1 SEE ALSO
32
33 L<ERR_get_error(3)>
34
35 =head1 COPYRIGHT
36
37 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
38
39 Licensed under the Apache License 2.0 (the "License").  You may not use
40 this file except in compliance with the License.  You can obtain a copy
41 in the file LICENSE in the source distribution or at
42 L<https://www.openssl.org/source/license.html>.
43
44 =cut