Partager via


SigningInfo.HasPastSigningCertificates Property

Definition

APK Signature Scheme v3 enables packages to provide a proof-of-rotation record that the platform verifies, and uses, to allow the use of new signing certificates.

public bool HasPastSigningCertificates { [Android.Runtime.Register("hasPastSigningCertificates", "()Z", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("hasPastSigningCertificates", "()Z", "", ApiSince=28)>]
member this.HasPastSigningCertificates : bool

Property Value

Attributes

Remarks

APK Signature Scheme v3 enables packages to provide a proof-of-rotation record that the platform verifies, and uses, to allow the use of new signing certificates. This is only available to packages that are not signed by multiple signers. In the event of a change to a new signing certificate, the package's past signing certificates are presented as well. Any check of a package's signing certificate should also include a search through its entire signing history, since it could change to a new signing certificate at any time.

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

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