Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DX509CertificateUtils.java100 CertificateFactory certFactory) throws CertificateException { in generateCertificate() argument
103 certificate = (X509Certificate) certFactory.generateCertificate( in generateCertificate()
128 certificate = (X509Certificate) certFactory.generateCertificate( in generateCertificate()
166 InputStream in, CertificateFactory certFactory) throws CertificateException { in generateCertificates() argument
177 return certFactory.generateCertificates(new ByteArrayInputStream(encodedCerts)); in generateCertificates()
192 X509Certificate certificate = (X509Certificate) certFactory.generateCertificate( in generateCertificates()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java80 CertificateFactory certFactory, in verifyV1SourceStamp() argument
89 sourceStampBlockData, certFactory, sourceStampCertificateDigest, result); in verifyV1SourceStamp()
115 CertificateFactory certFactory, in verifyV2SourceStamp() argument
124 sourceStampBlockData, certFactory, sourceStampCertificateDigest, result); in verifyV2SourceStamp()
184 CertificateFactory certFactory, in verifySourceStampCertificate() argument
192 sourceStampCertificate = (X509Certificate) certFactory.generateCertificate( in verifySourceStampCertificate()
DSourceStampCertificateLineage.java66 CertificateFactory certFactory; in readSigningCertificateLineage() local
68 certFactory = CertificateFactory.getInstance("X.509"); in readSigningCertificateLineage()
130 lastCert = (X509Certificate) certFactory.generateCertificate( in readSigningCertificateLineage()
DV1SourceStampVerifier.java107 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in verify() local
115 certFactory, in verify()
DV2SourceStampVerifier.java111 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in verify() local
116 certFactory, in verify()
/tools/apksig/src/main/java/com/android/apksig/
DSourceStampVerifier.java310 CertificateFactory certFactory; in parseSigners() local
312 certFactory = CertificateFactory.getInstance("X.509"); in parseSigners()
328 certFactory, in parseSigners()
355 CertificateFactory certFactory, in parseSigner() argument
395 certificate = (X509Certificate) certFactory.generateCertificate( in parseSigner()
464 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getApkContentDigestFromV1SigningScheme() local
467 for (Certificate certificate : certFactory.generateCertificates( in getApkContentDigestFromV1SigningScheme()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java197 CertificateFactory certFactory; in parseSigners() local
199 certFactory = CertificateFactory.getInstance("X.509"); in parseSigners()
215 certFactory, in parseSigners()
246 CertificateFactory certFactory, in parseSigner() argument
352 certificate = X509CertificateUtils.generateCertificate(encodedCert, certFactory); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java303 CertificateFactory certFactory; in parseSigners() local
305 certFactory = CertificateFactory.getInstance("X.509"); in parseSigners()
319 parseSigner(signer, certFactory, signerInfo); in parseSigners()
340 private void parseSigner(ByteBuffer signerBlock, CertificateFactory certFactory, in parseSigner() argument
467 certificate = X509CertificateUtils.generateCertificate(encodedCert, certFactory); in parseSigner()
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java712 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in testV1SchemeSignatureCertNotReencoded() local
713 if ("SUN".equals(certFactory.getProvider().getName())) { in testV1SchemeSignatureCertNotReencoded()