Share via


PackageIdentifier.GetSha256Certificate Method

Definition

Returns the SHA-256 certificate for a package.

[Android.Runtime.Register("getSha256Certificate", "()[B", "GetGetSha256CertificateHandler", ApiSince=31)]
public virtual byte[] GetSha256Certificate();
[<Android.Runtime.Register("getSha256Certificate", "()[B", "GetGetSha256CertificateHandler", ApiSince=31)>]
abstract member GetSha256Certificate : unit -> byte[]
override this.GetSha256Certificate : unit -> byte[]

Returns

Byte[]
Attributes

Remarks

Returns the SHA-256 certificate for a package.

Java documentation for android.app.appsearch.PackageIdentifier.getSha256Certificate().

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