public class SignatureHelper
extends java.lang.Object
| Constructor and Description |
|---|
SignatureHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkSignature(android.content.Context context,
java.lang.String key)
apkの署名が指定したkeyと一致しているかどうかをチェック
|
static java.lang.String |
getSignature(android.content.Context context)
apkの署名を取得
|
static byte[] |
getSignatureBytes(android.content.Context context)
apkの署名を取得
|
public static boolean checkSignature(android.content.Context context,
java.lang.String key)
throws java.lang.IllegalArgumentException,
android.content.pm.PackageManager.NameNotFoundException
context - key - java.lang.IllegalArgumentExceptionPackageManager.NameNotFoundExceptionpublic static java.lang.String getSignature(android.content.Context context)
context - public static byte[] getSignatureBytes(android.content.Context context)
context -