Home
last modified time | relevance | path

Searched refs:sha256String (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DSigningDetails.java733 public boolean checkCapability(@Nullable String sha256String, @CertCapabilities int flags) { in checkCapability() argument
734 if (this == UNKNOWN || TextUtils.isEmpty(sha256String)) { in checkCapability()
739 final byte[] sha256Bytes = HexEncoding.decode(sha256String, false /* allowSingleChar */); in checkCapability()
753 return mSignaturesSha256Digest.equals(sha256String); in checkCapability()
DPackageParser.java6543 public boolean checkCapability(String sha256String, @CertCapabilities int flags) { in checkCapability() argument
6549 byte[] sha256Bytes = sha256String == null in checkCapability()
6550 ? null : HexEncoding.decode(sha256String, false /* allowSingleChar */); in checkCapability()
6564 return mSignaturesSha256Digest.equals(sha256String); in checkCapability()