Home
last modified time | relevance | path

Searched defs:digest (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobHandle.java69 @NonNull public final byte[] digest; field in BlobHandle
92 private BlobHandle(String algorithm, byte[] digest, CharSequence label, long expiryTimeMillis, in BlobHandle()
110 public static @NonNull BlobHandle create(@NonNull String algorithm, @NonNull byte[] digest, in create()
144 public static @NonNull BlobHandle createWithSha256(@NonNull byte[] digest, in createWithSha256()
259 public static String safeDigest(@NonNull byte[] digest) { in safeDigest()
264 private static String encodeDigest(@NonNull byte[] digest) { in encodeDigest()
/frameworks/base/core/java/android/security/net/config/
DPin.java24 public final byte[] digest; field in Pin
28 public Pin(String digestAlgorithm, byte[] digest) { in Pin()
DXmlConfigSource.java104 String digest = parser.getText().trim(); in parsePin() local
/frameworks/base/core/java/android/content/pm/
DInstantAppResolveInfo.java86 public InstantAppResolveInfo(@NonNull InstantAppDigest digest, @Nullable String packageName, in InstantAppResolveInfo()
92 public InstantAppResolveInfo(@NonNull InstantAppDigest digest, @Nullable String packageName, in InstantAppResolveInfo()
113 private InstantAppResolveInfo(@NonNull InstantAppDigest digest, @Nullable String packageName, in InstantAppResolveInfo()
289 final MessageDigest digest = MessageDigest.getInstance(SHA_ALGORITHM); in generateDigest() local
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DHarmfulDigests.java45 public boolean contains(byte[] digest) { in contains()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java302 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner() local
437 public final byte[] digest; field in ApkSignatureSchemeV2Verifier.VerifiedSigner
439 public VerifiedSigner(X509Certificate[][] certs, byte[] verityRootHash, byte[] digest) { in VerifiedSigner()
DSourceStampVerifier.java239 ByteBuffer signedBlockData, X509Certificate sourceStampCertificate, byte[] digest) in verifySourceStampSignature()
349 ByteBuffer digest = getLengthPrefixedSlice(digests); in getApkContentDigestsFromSignatureBlock() local
DApkSignatureSchemeV3Verifier.java312 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner() local
574 public byte[] digest; field in ApkSignatureSchemeV3Verifier.VerifiedSigner
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DBackupEncrypter.java66 public Result(List<ChunkHash> allChunks, List<EncryptedChunk> newChunks, byte[] digest) { in Result()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/kv/
DDecryptedChunkKvOutput.java81 MessageDigest digest = getMessageDigest(); in getDigest() local
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerBackupHelper.java192 final String digest = PackageUtils.computeSignaturesSha256Digest( in backupAccountAccessPermissions() local
241 String digest = parser.getAttributeValue(null, ATTR_DIGEST); in restoreAccountAccessPermissions() local
/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java106 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in hashSignature() local
/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java595 public static int toKeymaster(@NonNull @DigestEnum String digest) { in toKeymaster()
617 public static @DigestEnum String fromKeymaster(int digest) { in fromKeymaster()
639 public static @DigestEnum String fromKeymasterToSignatureAlgorithmDigest(int digest) { in fromKeymasterToSignatureAlgorithmDigest()
/frameworks/base/core/java/android/privacy/internal/rappor/
DRapporEncoder.java84 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in getInsecureSeed() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java209 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in computeHash() local
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DReportEncoderTests.java91 final String digest = appProto.appDigest; in testReportUtils_serializeReport() local
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/kv/
DDecryptedChunkKvOutputTest.java101 MessageDigest digest = MessageDigest.getInstance(DecryptedChunkKvOutput.DIGEST_ALGORITHM); in getDigest_returnsDigestOfSortedHashes() local
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerShellCommand.java182 public byte[] digest; field in BlobStoreManagerShellCommand.ParsedArgs
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java104 private final MessageDigest digest; field in StrictJarVerifier.VerifierEntry
112 VerifierEntry(String name, MessageDigest digest, byte[] hash, in VerifierEntry()
/frameworks/base/core/java/android/os/
DFileUtils.java748 public static byte[] digest(@NonNull File file, @NonNull String algorithm) in digest() method in FileUtils
764 public static byte[] digest(@NonNull InputStream in, @NonNull String algorithm) in digest() method in FileUtils
777 public static byte[] digest(FileDescriptor fd, String algorithm) in digest() method in FileUtils
785 final MessageDigest digest = MessageDigest.getInstance(algorithm); in digestInternalUserspace() local
786 try (DigestInputStream digestStream = new DigestInputStream(in, digest)) { in digestInternalUserspace() argument
DSystemProperties.java320 final MessageDigest digest = MessageDigest.getInstance("SHA-1"); in digestOf() local
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java516 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in extractSourceStamp() local
560 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in getFingerprint() local
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java212 MessageDigest digest = MessageDigest.getInstance("SHA-512"); in personalisedHash() local
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java366 MessageDigest digest; in getHash() local
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolver.java393 InstantAppDigest digest = InstantAppResolver.parseDigest(origIntent); in filterInstantAppIntent() local

12