Package com.google.maps.android
Class CertificateHelper
- java.lang.Object
-
- com.google.maps.android.CertificateHelper
-
public class CertificateHelper extends java.lang.Object
Helper class for obtaining information about an Android app's signing certificate.
-
-
Constructor Summary
Constructors Constructor Description CertificateHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getSigningCertificateSha1Fingerprint(Context context)
Obtains the SHA-1 fingerprint of the certificate used to sign the app.
-
-
-
Method Detail
-
getSigningCertificateSha1Fingerprint
@Nullable public static java.lang.String getSigningCertificateSha1Fingerprint(@NotNull Context context)
Obtains the SHA-1 fingerprint of the certificate used to sign the app.- Parameters:
context
- a Context- Returns:
- the SHA-1 fingerprint if obtainable, otherwise,
null
-
-