voms_api.h(3)

πŸ“¦
version 2.1.4 Β· 4 versions
, in epel 10, fedora 43, fedora 44

✨ voms_api.h β€” the manual page ✨

okay so bestie, pull up a chair πŸ’– this is voms_api.h(3), from the Library Functions Manual, and it is literally the header where the VOMS CC API lives. she's giving "I contain multitudes": structs, typedefs, enums, functions, the whole main-character lineup πŸ‘‘


🌸 NAME 🌸

voms_api.h β€” that's it, that's the name, no notes, periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

first things first, she includes her little friends:

#include <fstream>
#include <string>
#include <vector>
#include <openssl/x509.h>
#include <openssl/bio.h>
#include <sys/types.h>
#include 'newformat.h'

and then, drumroll please πŸ₯ β€” the actual contents:

πŸ’– Data Structures πŸ’–

  • struct data β€” User's characteristics: can be repeated. Generic name-value attribute : can be repeated.
  • struct attribute
  • struct attributelist
  • struct contactdata
  • struct voms
  • struct vomsdata

πŸ’– Typedefs πŸ’–

  • typedef void * gss_cred_id_t
  • typedef void * gss_ctx_id_t
  • typedef bool(* check_sig) (X509 *, void *, verror_type &)

πŸ’– Enumerations πŸ’–

  • enum data_type { TYPE_NODATA, TYPE_STD, TYPE_CUSTOM } β€” The type of data returned. (iykyk πŸ‘€)
  • enum recurse_type { RECURSE_CHAIN, RECURSE_NONE, RECURSE_DEEP }
  • enum verify_type { VERIFY_FULL = 0xffffffff, VERIFY_NONE = 0x00000000, VERIFY_DATE = 0x00000001, VERIFY_TARGET = 0x00000002, VERIFY_KEY = 0x00000004, VERIFY_SIGN = 0x00000008, VERIFY_ORDER = 0x00000010, VERIFY_ID = 0x00000020, VERIFY_CERTLIST = 0x00000040 }
  • enum verror_type { VERR_NONE, VERR_NOSOCKET, VERR_NOIDENT, VERR_COMM, VERR_PARAM, VERR_NOEXT, VERR_NOINIT, VERR_TIME, VERR_IDCHECK, VERR_EXTRAINFO, VERR_FORMAT, VERR_NODATA, VERR_PARSE, VERR_DIR, VERR_SIGN, VERR_SERVER, VERR_MEM, VERR_VERIFY, VERR_TYPE, VERR_ORDER, VERR_SERVERCODE, VERR_NOTAVAIL, VERR_FILE } β€” Error codes. (so many bestie, so many 😭)

πŸ’– Functions πŸ’–

  • int getVOMSMajorVersionNumber (void)
  • int getVOMSMinorVersionNumber (void)
  • int getVOMSPatchVersionNumber (void)

πŸŽ€ Typedef Documentation πŸŽ€

✨ typedef bool(* check_sig) (X509 *, void *, verror_type &) ✨

Definition at line 189 of file voms_api.h.

✨ typedef void* gss_cred_id_t ✨

Definition at line 41 of file voms_api.h.

✨ typedef void* gss_ctx_id_t ✨

Definition at line 42 of file voms_api.h.


🌈 Enumeration Type Documentation 🌈

🧚 enum data_type 🧚

The type of data returned.

Enumerator:

  • TYPE_NODATA β€” no data
  • TYPE_STD β€” group, role, capability triplet
  • TYPE_CUSTOM β€” result of an S command

Definition at line 76 of file voms_api.h.

🧚 enum recurse_type 🧚

Enumerator:

  • RECURSE_CHAIN
  • RECURSE_NONE
  • RECURSE_DEEP

Definition at line 142 of file voms_api.h.

🧚 enum verify_type 🧚

Enumerator:

  • VERIFY_FULL
  • VERIFY_NONE
  • VERIFY_DATE
  • VERIFY_TARGET
  • VERIFY_KEY
  • VERIFY_SIGN
  • VERIFY_ORDER
  • VERIFY_ID
  • VERIFY_CERTLIST

Definition at line 148 of file voms_api.h.

🧚 enum verror_type 🧚

Error codes. buckle up bestie, there's a lot of them πŸ’€

Enumerator:

  • VERR_NONE
  • VERR_NOSOCKET β€” Socket problem
  • VERR_NOIDENT β€” Cannot identify itself (certificate problem)
  • VERR_COMM β€” Server problem
  • VERR_PARAM β€” Wrong parameters
  • VERR_NOEXT β€” VOMS extension missing
  • VERR_NOINIT β€” Initialization error
  • VERR_TIME β€” Error in time checking
  • VERR_IDCHECK β€” User data in extension different from the real ones
  • VERR_EXTRAINFO β€” VO name and URI missing
  • VERR_FORMAT β€” Wrong data format
  • VERR_NODATA β€” Empty extension
  • VERR_PARSE β€” Parse error
  • VERR_DIR β€” Directory error
  • VERR_SIGN β€” Signature error
  • VERR_SERVER β€” Unidentifiable VOMS server
  • VERR_MEM β€” Memory problems
  • VERR_VERIFY β€” Generic verification error
  • VERR_TYPE β€” Returned data of unknown type
  • VERR_ORDER β€” Ordering different than required
  • VERR_SERVERCODE β€” Error message from the server
  • VERR_NOTAVAIL β€” Method not available
  • VERR_FILE β€” Error reading data from file

Definition at line 162 of file voms_api.h.


πŸ‘‘ Function Documentation πŸ‘‘

  • int getVOMSMajorVersionNumber (void )
  • int getVOMSMinorVersionNumber (void )
  • int getVOMSPatchVersionNumber (void )

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for VOMS CC API from the source code.


ngl bestie, this whole page was auto-generated, so if anything's weird it's Doxygen's fault, not mine πŸ™ˆ

and that's the tea πŸ“ this was the VOMS CC API, Version 1.5.0, voms_api.h(3) β€” slay, read responsibly, and go forth and verify those certs πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from