Readonly
close: (() => Promise<Result<void, CloseVerifierError>>)Closes the verifier
A promise that resolves to a Result containing void on ok or a CloseVerifierError on error.
Verifier instance will not function after it is closed.
Readonly
compact: { Readonly
getReturns the cache item with the most-soon-to-expire expiry date.
Readonly
refreshRefreshes all cached items.
Readonly
refreshRefreshes only issuer cached items.
Readonly
refreshRefreshes only revocation cached items.
Readonly
verify: ((options) => Promise<Result<VerifyCompactCredentialResult, VerifyCompactCredentialError>>)Verifies a Compact Credential.
VerifyCompactCredentialOptions containing a credential payload to verify and a mapping config for property transformation.
A promise that resolves to a Result containing VerifyCompactCredentialResult on ok or a VerifyCompactCredentialError on error.
Readonly
compactReadonly
getReturns the cache item with the most-soon-to-expire expiry date.
Readonly
refreshRefreshes all cached items.
Readonly
refreshRefreshes only issuer cached items.
Readonly
refreshRefreshes only revocation cached items.
Readonly
verify: ((options) => Promise<Result<VerifyCompactSemanticCredentialResult, VerifyCompactCredentialError>>)Verifies a credential.
VerifyCompactCredentialOptions containing a credential payload to verify and a mapping config for property transformation.
A promise that resolves to a Result containing VerifyCompactCredentialResult on ok or a VerifyCompactCredentialError on error.
Readonly
ecosystem: Omit<EcosystemService, "initialise">Readonly
isIndicates if the verifier is open.
Readonly
mobile: { Add a trusted issuer certificate to storage.
Issuer certificates are used to verify Mobile Credentials when added to storage. This function validates the certificate in accordance with the IACA profile defined in 18013-5 with the additional constraint of requiring the certificate to be self signed. The operation is idempotent, meaning repeated calls to add the same issuer certificates do not result in duplicates, as the ID's of the existing certificates as stored by the SDK are returned.
the list of trusted issuer certificates in pem encoded string format.
A promise that resolves to an array of IDs for the added certificates on ok or AddTrustedIssuerCertificatesError on error.
Creates a proximity based presentation session with a Mobile Credential holder using ISO 18013-5 based DeviceRetrieval.
CreateProximityPresentationSessionOptions containing a callback function for each event.
A promise that resolves to void on ok or CreateProximityPresentationSessionError on error.
Deletes a trusted issuer certificate from storage.
This operation is idempotent, meaning calls to this function for issuer certificates that do not exist will not return an error.
the ID of the trusted issuer certificate to delete.
Retrieves all trusted issuer certificates from storage.
A promise that resolves to an array of TrustedIssuerCertificate.
This function uses the requested Mobile Credentials to construct and send a request to the holder. Once the request had been sent, a response is awaited. According to ISO 18013-5 specification, if no response is received after 300 seconds the request will timeout.
SendProximityPresentationRequestOptions represents a request for presentation of Mobile Credentials.
A promise that resolves to MobileCredentialResponse on ok or SendProximityPresentationRequestError on error.
Terminates a proximity based presentation session with a Mobile Credential holder using ISO 18013-5 based DeviceRetrieval.
A promise that resolves to void
Generated using TypeDoc
An instance of a verifier