Function addTrustedVerifierCertificates

  • Add trusted verifier certificates to storage.

    Verifier certificates are used to verify the authorization request object fetched from the request URI as part of an OID4VP mDoc retrieval flow, as per Annex B of ISO/IEC 18013-7:2024.

    The function is idempotent, meaning repeated calls to add the same verifier certificates do not result in duplicates. Instead, it returns the IDs of existing certificates stored by the SDK.

    Parameters

    • certificates: readonly string[]

      A list of certificates in PEM-encoded string format OR as a Base64-encoded DER string.

    Returns Promise<Result<string[], AddTrustedVerifierCertificatesError>>

    A list of IDs of successfully added certificates.

Generated using TypeDoc