Searched refs:certificates (Results 1 – 11 of 11) sorted by relevance
191 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
337 ByteBuffer certificates = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner() local342 while (certificates.hasRemaining()) { in parseSigner()344 byte[] encodedCert = ApkSigningBlockUtils.readLengthPrefixedByteArray(certificates); in parseSigner()
176 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
385 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in parseSigner() local405 while (certificates.hasRemaining()) { in parseSigner()407 byte[] encodedCert = readLengthPrefixedByteArray(certificates); in parseSigner()
94 public List<X509Certificate> certificates; field in V1SchemeSigner.SignerConfig305 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()
502 signedDataCertificates = parseCertificates(signedData.certificates); in verifySigBlockAgainstSigFile()
47 public List<Asn1OpaqueObject> certificates; field in SignedData
243 List<X509Certificate> certificates = new ArrayList<>(1); in spawnDescendant() local244 certificates.add(parent.getCertificate()); in spawnDescendant()248 newSignerConfig.certificates = certificates; in spawnDescendant()
764 List<X509Certificate> certificates) { in SignerConfig() argument767 mCertificates = Collections.unmodifiableList(new ArrayList<>(certificates)); in SignerConfig()812 List<X509Certificate> certificates) { in Builder() argument818 mCertificates = new ArrayList<>(certificates); in Builder()
12 --print-certs Show information about the APK's signing certificates
564 public static List<byte[]> encodeCertificates(List<X509Certificate> certificates) in encodeCertificates() argument566 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