ASN1_INTEGER_new.pod 1.0 KB

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