Class MecIdmsAttestationAuthenticator


  • public class MecIdmsAttestationAuthenticator
    extends MecAuthenticator
    IDMS / Safetynet Attestation authenticator Safetynet ("Android Device Verification") API must be enabled for this Google Safetynet key. See Google Cloud Console API Library: https://console.cloud.google.com/apis/library If key is configured with restrictions, the calling application signing certificate and package name must also be provisioned. See Google Cloud Console Credentials: https://console.cloud.google.com/apis/credentials Similarly, the calling application signing certificate and package name must be configured within the MEC portal for the key set associated with the appID. The MEC AppID is available by navigating to 'enable edge discovery from the mobile client for a Limited scope key set within the MEC key-management screen. See MEC API Key Management: https://www.verizon.com/business/5g-edge-portal/api-keys.html
    • Constructor Summary

      Constructors 
      Constructor Description
      MecIdmsAttestationAuthenticator​(java.lang.String googleApiKey, java.lang.String mecAppId)
      Constructor
    • Constructor Detail

      • MecIdmsAttestationAuthenticator

        public MecIdmsAttestationAuthenticator​(@NonNull
                                               java.lang.String googleApiKey,
                                               @NonNull
                                               java.lang.String mecAppId)
        Constructor
        Parameters:
        googleApiKey - Google API key for Safetynet calls. Required.
        mecAppId - MEC AppID associated w/ authorized MEC keys. Required.
    • Method Detail

      • getGoogleSafetynetApiKey

        public java.lang.String getGoogleSafetynetApiKey()
        Get Google Safetynet API key
        Returns:
        Google Safetynet API key, as supplied in constructor.
      • getMecAppId

        public java.lang.String getMecAppId()
        Get MEC AppID
        Returns:
        MEC AppId, as supplied in constructor.