light-mode-image
Learn
Functions

deleteTrustedIssuerCertificate

Delete a trusted issuer certificate from storage.

This function is idempotent, meaning calls to delete issuer certificates that do not exist will not return an error.

Signature

function deleteTrustedIssuerCertificate(
  certificateId: string
): Promise<Result<void, DeleteTrustedIssuerCertificateError>>

Parameters

Prop

Type

Returns

Promise<Result<void, DeleteTrustedIssuerCertificateError>>

A promise that resolves once the certificate is gone, including when it did not exist.

Throws

InvalidParams if the provided arguments are missing or invalid.

MobileCredentialVerifierErrorType.SdkNotInitialized if the SDK has not been initialized.

How would you rate this page?

On this page