Sdílet prostřednictvím


SigningInfo.GetApkContentsSigners Method

Definition

Returns the signing certificates used to sign the APK contents of this application.

[Android.Runtime.Register("getApkContentsSigners", "()[Landroid/content/pm/Signature;", "", ApiSince=28)]
public Android.Content.PM.Signature[]? GetApkContentsSigners ();
[<Android.Runtime.Register("getApkContentsSigners", "()[Landroid/content/pm/Signature;", "", ApiSince=28)>]
member this.GetApkContentsSigners : unit -> Android.Content.PM.Signature[]

Returns

Attributes

Remarks

Returns the signing certificates used to sign the APK contents of this application. Not including any past signing certificates the package proved it is authorized to use. <note> This method should not be used unless #hasMultipleSigners() returns true, indicating that #getSigningCertificateHistory() cannot be used, otherwise #getSigningCertificateHistory() should be preferred. </note>

Java documentation for android.content.pm.SigningInfo.getApkContentsSigners().

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