Several service interfaces must be implemented for the OneSpan FIDO2 SDK to function properly.
Some of the interfaces available have a default implementation in the SDK: Table: Available interfaces and implementation information provides an overview of the interfaces available and their implementation details; Table: Service interfaces and methods lists the interface methods, parameters, and descriptions of the service interfaces available.
Table: Service interfaces and methods | Interface | Method | Parameters | Description |
|---|
| TrustAnchorProvider | SetTrustAnchor getTrustAnchors | AAGUIDaaguid - aaguid of the authenticator. AttestationType: attestationType | Obtains a set of trust anchors, based on the AAGUID and attestation type that need to be used, to assess the trustworthiness of the attestation. These parameters return a set of trust anchors. |
| String getEcdaa | AAGUIDaaguid - aaguid of the authenticator. | Returns the ECDAA-Issuer public key identifier, used to assess the trustworthiness of the attestation. Currently, the SDK does not support ECDAA. |
TPMRiskAnalyticsHandler | boolean shouldAllow | TPMRiskAnalyticsData tpmRiskAnalyticsData | Returns a Boolean value that is used to decide if the attestation with given parameters should be allowed (it can be based on some risk analysis with input of TPMRiskAnalyticsData data). |
TPMDeviceAttributesValidator | boolean shouldAllow | TPMDeviceAttributes tpmDeviceAttributes | Returns a Boolean value which is used to decide if the TPM device with the given attributes should be allowed. |
AuthenticatorCredentialDataProvider | boolean exists | byte[] credentialId | Returns a Boolean value that indicates if a credential with the given credential ID already exists. |
SdkConfigProvider | boolean isSelfAttestationAcceptable | - | Defines if self-attestation is acceptable during attestation verification. |
AuthenticatorTransportInferenceHandler | ListAuthenticatorTransportinferBy | AttestationStatementFormat attestationStatementFormat | Used to infer authenticator transports by the attestation statement format. |
ChallengeProvider | byte[] generate
| - | Generates a new challenge. |
TokenBindingHandler | TokenBindingMessage parseTokenBindingMessage | String base64UrlEncodedTokenBindingMessage | Decodes a given base64url string into a authenticator binding message structure structure. |
TokenBinding extractTokenBinding | String base64UrlEncodedTokenBindingMessage | Extracts authenticator binding from a given base64url- encoded authenticator binding message structure. |