Home
last modified time | relevance | path

Searched refs:V4Signature (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java25 import android.os.incremental.V4Signature;
68 final V4Signature signature; in extractCertificates()
69 final V4Signature.HashingInfo hashingInfo; in extractCertificates()
70 final V4Signature.SigningInfo signingInfo; in extractCertificates()
72 signature = V4Signature.readFrom(signatureBytes); in extractCertificates()
79 hashingInfo = V4Signature.HashingInfo.fromByteArray(signature.hashingInfo); in extractCertificates()
80 signingInfo = V4Signature.SigningInfo.fromByteArray(signature.signingInfo); in extractCertificates()
86 final byte[] signedData = V4Signature.getSignedData(apk.length(), hashingInfo, in extractCertificates()
98 private static Pair<Certificate, byte[]> verifySigner(V4Signature.SigningInfo signingInfo, in verifySigner()
162 if (hashAlgorithm == V4Signature.HASHING_ALGORITHM_SHA256) { in convertToContentDigestType()
/frameworks/base/core/java/android/os/incremental/
DIncrementalStorage.java494 final V4Signature signature; in validateV4Signature()
496 signature = V4Signature.readFrom(v4signatureBytes); in validateV4Signature()
506 final V4Signature.HashingInfo hashingInfo = V4Signature.HashingInfo.fromByteArray( in validateV4Signature()
508 final V4Signature.SigningInfo signingInfo = V4Signature.SigningInfo.fromByteArray( in validateV4Signature()
511 if (hashingInfo.hashAlgorithm != V4Signature.HASHING_ALGORITHM_SHA256) { in validateV4Signature()
514 if (hashingInfo.log2BlockSize != V4Signature.LOG2_BLOCK_SIZE_4096_BYTES) { in validateV4Signature()
DV4Signature.java37 public class V4Signature { class
130 public static V4Signature readFrom(ParcelFileDescriptor pfd) throws IOException { in readFrom()
140 public static V4Signature readFrom(@NonNull byte[] bytes) throws IOException { in readFrom()
188 private V4Signature(int version, @Nullable byte[] hashingInfo, @Nullable byte[] signingInfo) { in V4Signature() method in V4Signature
194 private static V4Signature readFrom(InputStream stream) throws IOException { in readFrom()
202 return new V4Signature(version, hashingInfo, signingInfo); in readFrom()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java53 import android.os.incremental.V4Signature;
54 import android.os.incremental.V4Signature.HashingInfo;
1058 final V4Signature signature = in getRootHash()
1059 V4Signature.readFrom(baseFileSignature); in getRootHash()
DPackageManagerShellCommand.java86 import android.os.incremental.V4Signature;
3237 if ((signature.length > 0) && (V4Signature.readFrom(signature) == null)) { in processArgForStdin()
3277 final String v4SignaturePath = inPath + V4Signature.EXT; in processArgForLocalFile()
3281 final V4Signature v4signature = V4Signature.readFrom(pfd); in processArgForLocalFile()
/frameworks/base/boot/
Dboot-image-profile.txt29145 Landroid/os/incremental/V4Signature$HashingInfo;
29146 Landroid/os/incremental/V4Signature$SigningInfo;
29147 Landroid/os/incremental/V4Signature;
/frameworks/base/config/
Dboot-image-profile.txt38782 Landroid/os/incremental/V4Signature$HashingInfo;
38783 Landroid/os/incremental/V4Signature$SigningInfo;
38784 Landroid/os/incremental/V4Signature;