/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 | ApkSigningBlockUtils.java | 416 chunkDigests.algorithm, in computeOneMbChunkContentDigests() 422 private final ContentDigestAlgorithm algorithm; field in ApkSigningBlockUtils.ChunkDigests 426 private ChunkDigests(ContentDigestAlgorithm algorithm, int chunkCount) { in ChunkDigests() argument 427 this.algorithm = algorithm; in ChunkDigests() 428 digestOutputSize = this.algorithm.getChunkDigestOutputSizeBytes(); in ChunkDigests() 438 return MessageDigest.getInstance(algorithm.getJcaMessageDigestAlgorithm()); in createMessageDigest() 499 "Unexpected output size of " + chunkDigest.algorithm in run() 1427 public SupportedSignature(SignatureAlgorithm algorithm, byte[] signature) { in SupportedSignature() argument 1428 super(algorithm, signature); in SupportedSignature()
|
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()
|
/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/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 | 102 final SignatureAlgorithm algorithm = iter.next(); in getSuggestedSignatureAlgorithms() local 103 if (!isSupported(algorithm.getContentDigestAlgorithm(), false)) { in getSuggestedSignatureAlgorithms() 382 private static Pair<Integer, Byte> convertToV4HashingInfo(ContentDigestAlgorithm algorithm) in convertToV4HashingInfo() argument 384 switch (algorithm) { in convertToV4HashingInfo()
|
/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/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/stamp/ |
D | SourceStampVerifier.java | 271 signatureAlgorithms.append(supportedSignature.algorithm); in verifySourceStampSignature() 278 SignatureAlgorithm signatureAlgorithm = signature.algorithm; in verifySourceStampSignature()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_sign.txt | 53 --verity-enabled Whether to enable the verity signature algorithm for the 111 --deterministic-dsa-signing When signing with the DSA signature algorithm, 211 --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 | DefaultApkSignerEngine.java | 497 for (SignatureAlgorithm algorithm : algorithms) { in getMinSdkFromV3SignatureAlgorithms() 498 int current = algorithm.getMinSdkVersion(); in getMinSdkFromV3SignatureAlgorithms()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 402 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
|