/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSupportedSignature.java | 23 public final SignatureAlgorithm algorithm; field in ApkSupportedSignature 30 public ApkSupportedSignature(SignatureAlgorithm algorithm, byte[] signature) { in ApkSupportedSignature() argument 31 this.algorithm = algorithm; in ApkSupportedSignature()
|
D | ApkSigningBlockUtilsLite.java | 182 SignatureAlgorithm sigAlgorithm = sig.algorithm; in getSignaturesToVerify() 195 sigAlgorithm, candidate.algorithm) > 0)) { in getSignaturesToVerify() 213 (sig1, sig2) -> Integer.compare(sig1.algorithm.getId(), sig2.algorithm.getId())); in getSignaturesToVerify()
|
D | ApkSigningBlockUtils.java | 418 chunkDigests.algorithm, in computeOneMbChunkContentDigests() 424 private final ContentDigestAlgorithm algorithm; field in ApkSigningBlockUtils.ChunkDigests 428 private ChunkDigests(ContentDigestAlgorithm algorithm, int chunkCount) { in ChunkDigests() argument 429 this.algorithm = algorithm; in ChunkDigests() 430 digestOutputSize = this.algorithm.getChunkDigestOutputSizeBytes(); in ChunkDigests() 440 return MessageDigest.getInstance(algorithm.getJcaMessageDigestAlgorithm()); in createMessageDigest() 501 "Unexpected output size of " + chunkDigest.algorithm in run() 1437 public SupportedSignature(SignatureAlgorithm algorithm, byte[] signature) { in SupportedSignature() argument 1438 super(algorithm, signature); in SupportedSignature()
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | AuthorizationList.java | 159 private Integer algorithm; field in AuthorizationList 204 algorithm = Asn1Utils.getIntegerFromAsn1(value); in AuthorizationList() 287 public static String algorithmToString(int algorithm) { in algorithmToString() argument 288 switch (algorithm) { in algorithmToString() 376 return algorithm; in getAlgorithm() 519 if (algorithm != null) { in toString() 520 s.append("\nAlgorithm: ").append(algorithmToString(algorithm)); in toString()
|
D | AttestationTest.java | 203 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair() argument 206 KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance(algorithm, in generateKeyPair()
|
/tools/security/remote_provisioning/hwtrust/src/cbor/ |
D | publickey.rs | 71 .algorithm(iana_algorithm(self.kind())) in to_cose_key() 214 .protected(HeaderBuilder::new().algorithm(iana_algorithm(self.kind())).build()) in sign_cose_sign1() 254 .protected(HeaderBuilder::new().algorithm(iana::Algorithm::EdDSA).build()) in verify_cose_sign1() 265 .protected(HeaderBuilder::new().algorithm(iana::Algorithm::ES256).build()) in verify_cose_sign1_fails_with_wrong_aad() 276 .protected(HeaderBuilder::new().algorithm(iana::Algorithm::ES256).build()) in verify_cose_sign1_fails_with_wrong_algorithm() 289 .algorithm(iana::Algorithm::EdDSA) in verify_cose_sign1_with_non_crit_header() 305 .algorithm(iana::Algorithm::EdDSA) in verify_cose_sign1_fails_with_crit_header()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4SchemeVerifier.java | 243 ContentDigestAlgorithm algorithm = actualContentDigestInfo.contentDigestAlgorithm; in verifyRootHashAndTree() local 250 algorithm, in verifyRootHashAndTree() 259 algorithm, in verifyRootHashAndTree() 265 signerInfo.verifiedContentDigests.put(algorithm, actualDigest); in verifyRootHashAndTree()
|
D | V4SchemeSigner.java | 106 final SignatureAlgorithm algorithm = iter.next(); in getSuggestedSignatureAlgorithms() local 107 if (!isSupported(algorithm.getContentDigestAlgorithm(), false)) { in getSuggestedSignatureAlgorithms() 429 private static Pair<Integer, Byte> convertToV4HashingInfo(ContentDigestAlgorithm algorithm) in convertToV4HashingInfo() argument 431 switch (algorithm) { in convertToV4HashingInfo()
|
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | AlgorithmIdentifier.java | 49 public String algorithm; field in AlgorithmIdentifier 57 this.algorithm = algorithmOid; in AlgorithmIdentifier()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 608 String digestAlgorithmOid = signerInfo.digestAlgorithm.algorithm; in verifySignerInfoAgainstSigFile() 609 String signatureAlgorithmOid = signerInfo.signatureAlgorithm.algorithm; in verifySignerInfoAgainstSigFile() 1212 private static String getCanonicalJcaMessageDigestAlgorithm(String algorithm) { in getCanonicalJcaMessageDigestAlgorithm() argument 1213 return UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.get(algorithm.toUpperCase(Locale.US)); in getCanonicalJcaMessageDigestAlgorithm() 1401 private static MessageDigest getMessageDigest(String algorithm) in getMessageDigest() argument 1403 return MessageDigest.getInstance(algorithm); in getMessageDigest() 1406 private static byte[] digest(String algorithm, byte[] data, int offset, int length) in digest() argument 1408 MessageDigest md = getMessageDigest(algorithm); in digest() 1413 private static byte[] digest(String algorithm, byte[] data) throws NoSuchAlgorithmException { in digest() argument 1414 return getMessageDigest(algorithm).digest(data); in digest()
|
/tools/apksig/src/test/java/com/android/apksig/kms/gcp/ |
D | KeyRingClient.java | 130 CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm) { in createCryptoKeyForImport() argument 141 .setAlgorithm(algorithm) in createCryptoKeyForImport()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | SourceStampVerifier.java | 272 signatureAlgorithms.append(supportedSignature.algorithm); in verifySourceStampSignature() 279 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in verifySourceStampSignature()
|
/tools/security/remote_provisioning/hwtrust/src/ |
D | eek.rs | 63 .algorithm(coset::iana::Algorithm::A256GCM)
|
/tools/repohooks/tools/ |
D | spelling.txt | 92 algorith||algorithm 94 algoritm||algorithm 96 algorithmn||algorithm 97 algorrithm||algorithm 98 algorritm||algorithm 112 alogrithm||algorithm
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_sign.txt | 55 --verity-enabled Whether to enable the verity signature algorithm for the 123 --deterministic-dsa-signing When signing with the DSA signature algorithm, 235 --ks-type Type/algorithm of KeyStore to use. By default, the default
|
D | help_lineage.txt | 118 --ks-type Type/algorithm of KeyStore to use. By default, the default
|
D | help_rotate.txt | 124 --ks-type Type/algorithm of KeyStore to use. By default, the default
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZFile.java | 1912 FileUseMap.PositionAlgorithm algorithm; in positionInFile() local 1916 algorithm = FileUseMap.PositionAlgorithm.FIRST_FIT; in positionInFile() 1919 algorithm = FileUseMap.PositionAlgorithm.BEST_FIT; in positionInFile() 1925 long newOffset = map.locateFree(size, localHeaderSize, alignment, algorithm); in positionInFile()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 302 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 756 for (ContentDigestAlgorithm algorithm : intersectKeys) { in compareDigests() 757 if (!Arrays.equals(firstDigests.get(algorithm), in compareDigests() 758 secondDigests.get(algorithm))) { in compareDigests()
|
D | DefaultApkSignerEngine.java | 491 for (SignatureAlgorithm algorithm : algorithms) { in getMinSdkFromV3SignatureAlgorithms() 492 int current = algorithm.getMinSdkVersion(); in getMinSdkFromV3SignatureAlgorithms()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 406 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in parseSigner()
|
/tools/apkzlib/src/test/resources/testData/packaging/text-files/ |
D | rfc2460.txt | 810 algorithm: 903 As an example of the effects of the above algorithm, consider the
|
/tools/asuite/atest/bazel/runner/src/main/protobuf/ |
D | build_event_stream.proto | 485 // Digest of the file, using the build tool's configured digest algorithm,
|