1 package com.android.managedprovisioning.contracts 2 3 sealed interface Checksum { 4 val bytes: ByteArray 5 6 /** 7 * SHA-256 hash of the .apk file 8 */ 9 @JvmInline 10 value class PackageChecksum(override val bytes: ByteArray) : Checksum 11 12 /** 13 * SHA-256 hash of the signature in the .apk file 14 */ 15 @JvmInline 16 value class SignatureChecksum(override val bytes: ByteArray) : Checksum 17 }