PackageManager.GetVerifiedSigningInfo(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.