add Trusted Issuer Certificates
Add a trusted issuer certificate to storage.
Return
A list of IDs of successfully added certificates.
Parameters
An array of certificates in PEM-encoded string format OR a Base64-encoded DER string.
Issuer certificates are used to verify mDocs when added to the storage. This function validates the certificate in accordance with the IACA profile defined in ISO/IEC 18013-5:2021 with the additional constraint of requiring the certificate to be self-signed.
The function may perform network requests to update trusted issuer status lists.
The function is idempotent, meaning repeated calls to add the same issuer certificates do not result in duplicates. Instead, it returns the identifiers of existing certificates stored by the SDK.
Throws
If the SDK API is called before the SDK is initialized.
If the SDK license is invalid or has expired. Re-initialize the SDK to obtain a new license.
If storing the certificate fails.