Home
last modified time | relevance | path

Searched refs:getCertificate (Results 1 – 9 of 9) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java378 parent.getCertificate().getEncoded())) { in spawnDescendant()
388 child.getCertificate(), signatureAlgorithm.getId())); in spawnDescendant()
396 certificates.add(parent.getCertificate()); in spawnDescendant()
413 child.getCertificate(), sigAlgorithm, null, in spawnDescendant()
431 PublicKey publicKey = parent.getCertificate().getPublicKey(); in getSignatureAlgorithm()
456 parent.getCertificate(), null, null, new byte[0], signerCapabilities.getFlags()); in spawnFirstDescendant()
566 X509Certificate cert = config.getCertificate(); in getSignerCapabilities()
602 X509Certificate cert = config.getCertificate(); in updateSignerCapabilities()
639 X509Certificate cert = config.getCertificate(); in isSignerInLineage()
978 public X509Certificate getCertificate() { in getCertificate() method in SigningCertificateLineage.SignerConfig
DApkVerifier.java394 v1SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); in verify()
402 v2SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); in verify()
582 result.addSignerCertificate(v31Signers.get(v31Signers.size() - 1).getCertificate()); in verify()
585 result.addSignerCertificate(v3Signers.get(v3Signers.size() - 1).getCertificate()); in verify()
588 result.addSignerCertificate(signerInfo.getCertificate()); in verify()
592 result.addSignerCertificate(signerInfo.getCertificate()); in verify()
1465 public X509Certificate getCertificate() { in getCertificate() method in ApkVerifier.Result.V1SchemeSignerInfo
1543 public X509Certificate getCertificate() { in getCertificate() method in ApkVerifier.Result.V2SchemeSignerInfo
1620 public X509Certificate getCertificate() { in getCertificate() method in ApkVerifier.Result.V3SchemeSignerInfo
1713 public X509Certificate getCertificate() { in getCertificate() method in ApkVerifier.Result.V4SchemeSignerInfo
[all …]
DSourceStampVerifier.java759 public X509Certificate getCertificate() { in getCertificate() method in SourceStampVerifier.Result.SourceStampInfo
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java79 assertFalse("The signer " + unknownSigner.getCertificate().getSubjectDN() in testFirstRotationContainsExpectedSigners()
133 assertFalse("The signer " + unknownSigner.getCertificate().getSubjectDN() in testLineageFromFileDoesNotContainUnknownSigner()
336 expectedCertSet.add(mSigners.get(i).getCertificate()); in testAllExpectedCertificatesAreInLineage()
357 X509Certificate cert = subList.get(1).getCertificate(); in testSublineageContainsExpectedSigners()
571 assertTrue("The signer " + signer.getCertificate().getSubjectDN() in assertLineageContainsExpectedSigners()
DApkSignerTest.java2152 v1Signers.add(signer.getCertificate()); in assertResultContainsSigners()
2162 v2Signers.add(signer.getCertificate()); in assertResultContainsSigners()
2172 v3Signers.add(signer.getCertificate()); in assertResultContainsSigners()
2182 v31Signers.add(signer.getCertificate()); in assertResultContainsSigners()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DApkCreatorFactory.java181 public X509Certificate getCertificate() { in getCertificate() method in ApkCreatorFactory.CreationData
DApkZFileCreator.java99 creationData.getCertificate(), in ApkZFileCreator()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java611 printCertificate(signer.getCertificate(), in verify()
619 printCertificate(signer.getCertificate(), in verify()
633 printCertificate(sourceStampInfo.getCertificate(), "Source Stamp Signer", in verify()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DSignatureTestUtils.java130 return new ApkZLibPair(keyPair.getPrivate(), converter.getCertificate(holder)); in generateSignature()