Usage
This section provides an overview of how to use the key SDK components and capabilities.
This is not an inclusive list of the SDK’s components capabilities. These are available in the SDK’s reference documentation .
Capabilities
- Request and verify mDocs via a proximity presentation workflow as per ISO/IEC 18013-5:2021 .
Components
Classes
MobileCredentialVerifier
: The entry point for any interaction with the SDK.ProximityPresentationSessionListener
: An interface that provides callbacks for managing the lifecycle of a proximity presentation session.
Methods
General
initialize
: Initializes theMobileCredentialVerifier
class.
Refer to the Initialize SDK section for more information and usage examples.
Credential verification
createProximityPresentationSession
: Establishes a secure communication channel with a holder device for a proximity presentation session.sendProximityPresentationRequest
: Requests information for verification from a holder’s device.
Certificate management
addTrustedIssuerCertificates
: Adds an issuer’s certificate to the application storage. Credentials can only be verified if their issuer’s valid certificate exists in the application storage. Prior to adding a certificate, the SDK validates it as per the IACA profile defined in ISO/IEC 18013-5:2021.
Structures
MobileCredentialRequest
: Represents what information is requested for verification.MobileCredentialResponse
: Represents the credentials returned by a holder’s device in response to a verification request.MobileCredentialPresentation
: Represents a credential shared by the holder, including its branding, claims and verification result.
Last updated on