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 Methods
    Modifier and Type
    Method
    Description
    static 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

      @NonNull static Version mobileAuthenticationVersion()
      Gives back the version of the Nevis Mobile Authentication SDK.
      Returns:
      The version of the Nevis Mobile Authentication SDK.
    • signingCertificateSha256

      @NonNull static String signingCertificateSha256(@NonNull android.content.Context context)
      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

      @NonNull static String applicationFacetId(@NonNull android.content.Context context)
      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.