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