Home
last modified time | relevance | path

Searched defs:digest (Results 1 – 25 of 39) 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.java26 public final byte[] digest; field in Pin
30 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/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/backup/
DBackupUtils.java106 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in hashSignature() local
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerBackupHelper.java188 final String digest = PackageUtils.computeSignaturesSha256Digest( in backupAccountAccessPermissions() local
237 String digest = parser.getAttributeValue(null, ATTR_DIGEST); in restoreAccountAccessPermissions() local
/frameworks/base/core/java/android/privacy/internal/rappor/
DRapporEncoder.java84 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in getInsecureSeed() local
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerUtils.java88 final MessageDigest digest = MessageDigest.getInstance("SHA-1"); in getUnsignedHashUnCached() local
/frameworks/base/core/jni/
Dcom_android_internal_security_VerityUtils.cpp90 int measureFsverity(JNIEnv *env, jobject /* clazz */, jstring filePath, jbyteArray digest) { in measureFsverity()
/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/keystore/java/android/security/keystore/
DKeyProperties.java635 public static int toKeymaster(@NonNull @DigestEnum String digest) { in toKeymaster()
657 public static @DigestEnum String fromKeymaster(int digest) { in fromKeymaster()
679 public static @DigestEnum String fromKeymasterToSignatureAlgorithmDigest(int digest) { in fromKeymasterToSignatureAlgorithmDigest()
/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.java771 public static byte[] digest(@NonNull File file, @NonNull String algorithm) in digest() method in FileUtils
787 public static byte[] digest(@NonNull InputStream in, @NonNull String algorithm) in digest() method in FileUtils
800 public static byte[] digest(FileDescriptor fd, String algorithm) in digest() method in FileUtils
808 final MessageDigest digest = MessageDigest.getInstance(algorithm); in digestInternalUserspace() local
809 try (DigestInputStream digestStream = new DigestInputStream(in, digest)) { in digestInternalUserspace() argument
DSystemProperties.java313 final MessageDigest digest = MessageDigest.getInstance("SHA-1"); in digestOf() local
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java520 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in extractSourceStamp() local
564 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in getFingerprint() local
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreProvider.java295 @NonNull KeyEntryResponse response, int algorithm, int digest) in makeAndroidKeyStoreSecretKeyFromKeyEntryResponse()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java226 MessageDigest digest = MessageDigest.getInstance("SHA-512"); in personalisedHash() local
/frameworks/base/core/java/com/android/internal/security/
DVerityUtils.java124 @NonNull byte[] digest); in measureFsverityNative()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java364 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