Skip to main content
Ctrl+K
Attestation C SDK - Home Attestation C SDK - Home

Attestation C SDK

  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
Attestation C SDK - Home Attestation C SDK - Home

Attestation C SDK

  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • Introduction - nvTrust
  • Quick Start Guide
  • Configuring attestation
  • Claims schema
  • Developer Setup
  • Thread Safety
  • Attestation C SDK API
    • Macros
      • NVAT_VERSION_MAJOR
      • NVAT_VERSION_MINOR
      • NVAT_VERSION_PATCH
      • NVAT_VERSION_STRING
    • Functions
      • nvat_claims_collection_extend
      • nvat_claims_collection_free
      • nvat_claims_collection_serialize_json
      • nvat_get_detached_eat_es384
      • nvat_nonce_create
      • nvat_nonce_free
      • nvat_nonce_from_hex
      • nvat_nonce_get_length
      • nvat_nonce_to_hex_string
    • Groups
      • Attestation
        • NVAT_VERIFY_LOCAL
        • NVAT_VERIFY_REMOTE
      • Evidence Policy
        • NVAT_GPU_CLAIMS_VERSION_V2
        • NVAT_GPU_CLAIMS_VERSION_V3
        • NVAT_SWITCH_CLAIMS_VERSION_V3
      • GPU Evidence
        • GPU Evidence Serialize
        • GPU Evidence Source
      • GPU Evidence Verification
      • NVAT String
      • NVSwitch Evidence
        • Switch Evidence Serialize
        • Switch Evidence Source
      • NVSwitch Evidence Verification
      • OCSP Client
      • RIM Store
      • Relying Party Policy
      • Return Codes
        • NVAT_RC_ALLOC_FAILED
        • NVAT_RC_BAD_ARGUMENT
        • NVAT_RC_CERT_CHAIN_VERIFICATION_FAILURE
        • NVAT_RC_CERT_FWID_NOT_FOUND
        • NVAT_RC_CERT_NOT_FOUND
        • NVAT_RC_FEATURE_NOT_ENABLED
        • NVAT_RC_GPU_ARCHITECTURE_NOT_SUPPORTED
        • NVAT_RC_GPU_EVIDENCE_DRIVER_RIM_VERSION_MISMATCH
        • NVAT_RC_GPU_EVIDENCE_FWID_MISMATCH
        • NVAT_RC_GPU_EVIDENCE_INVALID
        • NVAT_RC_GPU_EVIDENCE_INVALID_SIGNATURE
        • NVAT_RC_GPU_EVIDENCE_NONCE_MISMATCH
        • NVAT_RC_GPU_EVIDENCE_VBIOS_RIM_VERSION_MISMATCH
        • NVAT_RC_INTERNAL_ERROR
        • NVAT_RC_JSON_SERIALIZATION_ERROR
        • NVAT_RC_LIBXML2_ERROR
        • NVAT_RC_NOT_INITIALIZED
        • NVAT_RC_NRAS_ATTESTATION_ERROR
        • NVAT_RC_NRAS_TOKEN_INVALID
        • NVAT_RC_NSCQ_ARCHITECTURE_ERROR
        • NVAT_RC_NSCQ_ATTESTATION_REPORT_ERROR
        • NVAT_RC_NSCQ_CERT_CHAIN_ERROR
        • NVAT_RC_NSCQ_ERROR
        • NVAT_RC_NSCQ_INIT_FAILED
        • NVAT_RC_NSCQ_TNVL_ERROR
        • NVAT_RC_NSCQ_UUID_ERROR
        • NVAT_RC_NVML_ERROR
        • NVAT_RC_NVML_INIT_FAILED
        • NVAT_RC_OCSP_INVALID_REQUEST
        • NVAT_RC_OCSP_INVALID_RESPONSE
        • NVAT_RC_OCSP_SERVER_ERROR
        • NVAT_RC_OCSP_STATUS_NOT_GOOD
        • NVAT_RC_OK
        • NVAT_RC_OVERALL_RESULT_FALSE
        • NVAT_RC_POLICY_EVALUATION_ERROR
        • NVAT_RC_RIM_CONNECTION_ERROR
        • NVAT_RC_RIM_FORBIDDEN
        • NVAT_RC_RIM_INTERNAL_ERROR
        • NVAT_RC_RIM_INVALID_SCHEMA
        • NVAT_RC_RIM_INVALID_SIGNATURE
        • NVAT_RC_RIM_MEASUREMENT_CONFLICT
        • NVAT_RC_RIM_MEASUREMENT_NOT_FOUND
        • NVAT_RC_RIM_NOT_FOUND
        • NVAT_RC_RP_POLICY_MISMATCH
        • NVAT_RC_SPDM_FIELD_NOT_FOUND
        • NVAT_RC_SPDM_MSR_PARSE_ERROR
        • NVAT_RC_SPDM_OPAQUE_DATA_PARSE_ERROR
        • NVAT_RC_SPDM_PARSE_ERROR
        • NVAT_RC_SPDM_REQUEST_PARSE_ERROR
        • NVAT_RC_SWITCH_EVIDENCE_FWID_MISMATCH
        • NVAT_RC_SWITCH_EVIDENCE_INVALID_SIGNATURE
        • NVAT_RC_SWITCH_EVIDENCE_NONCE_MISMATCH
        • NVAT_RC_SWITCH_EVIDENCE_VBIOS_RIM_VERSION_MISMATCH
        • NVAT_RC_UNKNOWN
        • NVAT_RC_XML_INIT_FAILED
      • SDK Configuration
        • NVAT_DEVICE_GPU
        • NVAT_DEVICE_IS_SET
        • NVAT_DEVICE_NVSWITCH
        • NVAT_HTTP_DEFAULT_BASE_BACKOFF_MS
        • NVAT_HTTP_DEFAULT_CONNECTION_TIMEOUT_MS
        • NVAT_HTTP_DEFAULT_MAX_BACKOFF_MS
        • NVAT_HTTP_DEFAULT_REQUEST_TIMEOUT_MS
        • NVAT_HTTP_DEFAULT_RETRY_COUNT
    • Typedefs
      • nvat_claims_collection_t
      • nvat_claims_t
      • nvat_nonce_t
  • Introduction - nvTrust
    • Installation
      • From source
    • Usage
  • Quick Start Guide
    • Overview
      • Conventions
    • Getting Started
      • Basic Workflow
    • Basic GPU Attestation Example
      • Overview
      • API References
    • Evidence Collection Example
      • Overview
      • Prerequisites
      • Code
      • API References
    • Custom Logger Example
      • Overview
      • Code
      • API References
    • Common Patterns
      • Error Handling
      • Resource Management
    • Next Steps
      • Explore the Full API
  • Configuring attestation
    • Attestation context
    • Relying party policy
    • Evidence policy
  • Claims schema
  • Developer Setup
    • Onboarding
      • 1. Setup the docker container
      • 2. Source the helper scripts
      • 3. Build the SDK
        • CMake Available Options
      • 4. VS Code Integration
    • Code Structure
    • Debugging
    • Testing
      • Environment variables controlling testing behaviour
      • Running unit-tests against build tree vs install tree
      • Run all the automated tests
    • Coding standards
    • Release process
  • Thread Safety
    • Handle Usage in Multithreaded Environments
    • Shared State
  • Attestation C SDK API
    • API contents
      • Macros
      • Functions
      • Groups
      • Typedefs

next

Introduction - nvTrust

NVIDIA NVIDIA

Copyright © 2025, NVIDIA Corporation.

Last updated on Sep 05, 2025.