A list of certificates in PEM-encoded string format OR as a Base64-encoded DER string.
A list of IDs of successfully added certificates.
InvalidParams if the provided arguments are missing or invalid.
MobileCredentialHolderErrorType.SdkNotInitialized if the SDK has not been initialized.
Generated using TypeDoc
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.