PKCS7_type_is_other.pod 979 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. =pod
  2. =head1 NAME
  3. PKCS7_type_is_other - determine content type of PKCS#7 envelopedData structure
  4. =head1 SYNOPSIS
  5. #include <openssl/pkcs7.h>
  6. int PKCS7_type_is_other(PKCS7 *p7);
  7. =head1 DESCRIPTION
  8. PKCS7_type_is_other() returns the whether the content type of a PKCS#7 envelopedData
  9. structure is one of the following content types:
  10. NID_pkcs7_data
  11. NID_pkcs7_signed
  12. NID_pkcs7_enveloped
  13. NID_pkcs7_signedAndEnveloped
  14. NID_pkcs7_digest
  15. NID_pkcs7_encrypted
  16. =head1 RETURN VALUES
  17. PKCS7_type_is_other() returns either 0 if the content type is matched or 1 otherwise.
  18. =head1 SEE ALSO
  19. L<PKCS7_type_is_data(3)>, L<PKCS7_get_octet_string(3)>
  20. =head1 COPYRIGHT
  21. Copyright 2002-2020 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