Home
last modified time | relevance | path

Searched refs:certificates (Results 1 – 11 of 11) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java191 if (signerConfig.certificates.isEmpty()) { in generateSignerBlock()
194 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock()
200 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock()
234 encodeAsSequenceOfLengthPrefixedElements(signedData.certificates), in generateSignerBlock()
288 public List<byte[]> certificates; field in V2SchemeSigner.V2SignatureSchemeBlock.SignedData
DV2SchemeVerifier.java337 ByteBuffer certificates = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner() local
342 while (certificates.hasRemaining()) { in parseSigner()
344 byte[] encodedCert = ApkSigningBlockUtils.readLengthPrefixedByteArray(certificates); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java176 if (signerConfig.certificates.isEmpty()) { in generateSignerBlock()
179 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock()
185 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock()
263 encodeAsSequenceOfLengthPrefixedElements(signedData.certificates)); in encodeSignedData()
317 public List<byte[]> certificates; field in V3SchemeSigner.V3SignatureSchemeBlock.SignedData
DV3SchemeVerifier.java385 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in parseSigner() local
405 while (certificates.hasRemaining()) { in parseSigner()
407 byte[] encodedCert = readLengthPrefixedByteArray(certificates); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeSigner.java94 public List<X509Certificate> certificates; field in V1SchemeSigner.SignerConfig
305 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in signManifest()
324 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in getOutputEntryNames()
503 List<X509Certificate> signerCerts = signerConfig.certificates; in generateSignatureBlock()
573 signedData.certificates = new ArrayList<>(signerCerts.size()); in generateSignatureBlock()
575 signedData.certificates.add(new Asn1OpaqueObject(cert.getEncoded())); in generateSignatureBlock()
DV1SchemeVerifier.java502 signedDataCertificates = parseCertificates(signedData.certificates); in verifySigBlockAgainstSigFile()
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignedData.java47 public List<Asn1OpaqueObject> certificates; field in SignedData
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java243 List<X509Certificate> certificates = new ArrayList<>(1); in spawnDescendant() local
244 certificates.add(parent.getCertificate()); in spawnDescendant()
248 newSignerConfig.certificates = certificates; in spawnDescendant()
DApkSigner.java764 List<X509Certificate> certificates) { in SignerConfig() argument
767 mCertificates = Collections.unmodifiableList(new ArrayList<>(certificates)); in SignerConfig()
812 List<X509Certificate> certificates) { in Builder() argument
818 mCertificates = new ArrayList<>(certificates); in Builder()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_verify.txt12 --print-certs Show information about the APK's signing certificates
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java564 public static List<byte[]> encodeCertificates(List<X509Certificate> certificates) in encodeCertificates() argument
566 List<byte[]> result = new ArrayList<>(certificates.size()); in encodeCertificates()
567 for (X509Certificate certificate : certificates) { in encodeCertificates()
901 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignaturesOverData()
960 public List<X509Certificate> certificates; field in ApkSigningBlockUtils.SignerConfig