Package ch.nevis.mobile.sdk.api.metadata
Interface MetaData
public interface MetaData
An interface with
static
methods only that provides additional information about the
Nevis Mobile Authentication SDK and the application it is running on.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic String
applicationFacetId
(android.content.Context context) Gives back the facet ID of the application.static Version
Gives back the version of the Nevis Mobile Authentication SDK.static String
signingCertificateSha256
(android.content.Context context) Gives back the SHA-256 hash of the signing certificate of the application that includes the Nevis Mobile Authentication SDK.
-
Method Details
-
mobileAuthenticationVersion
Gives back the version of the Nevis Mobile Authentication SDK.- Returns:
- The version of the Nevis Mobile Authentication SDK.
-
signingCertificateSha256
Gives back the SHA-256 hash of the signing certificate of the application that includes the Nevis Mobile Authentication SDK.- Parameters:
context
- the Android context.- Returns:
- The SHA-256 hash of the signing certificate of the application.
-
applicationFacetId
Gives back the facet ID of the application. The facet ID of your application has to match the list of allowed facets stored provided by the facet service of the backend.- Parameters:
context
- the Android context.- Returns:
- The application facet ID.
-