Share via


PackageManager.GetVerifiedSigningInfo(String, Int32) Method

Definition

Verifies and returns the app signing information of the file at the given path.

[Android.Runtime.Register("getVerifiedSigningInfo", "(Ljava/lang/String;I)Landroid/content/pm/SigningInfo;", "", ApiSince=36)]
public static Android.Content.PM.SigningInfo GetVerifiedSigningInfo(string path, int minAppSigningSchemeVersion);
[<Android.Runtime.Register("getVerifiedSigningInfo", "(Ljava/lang/String;I)Landroid/content/pm/SigningInfo;", "", ApiSince=36)>]
static member GetVerifiedSigningInfo : string * int -> Android.Content.PM.SigningInfo

Parameters

path
String
minAppSigningSchemeVersion
Int32

Returns

Attributes

Remarks

Verifies and returns the app signing information of the file at the given path. This operation takes a few milliseconds.

Unlike #getPackageArchiveInfo(String, PackageInfoFlags) with #GET_SIGNING_CERTIFICATES, this method does not require the file to be a package archive file.

Java documentation for android.content.pm.PackageManager.getVerifiedSigningInfo(java.lang.String, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to