File tree Expand file tree Collapse file tree
app/src/main/java/org/littleshoot/proxy/mitm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,10 +255,8 @@ private static X509Certificate signCertificate(
255255 X509v3CertificateBuilder certificateBuilder ,
256256 PrivateKey signedWithPrivateKey ) throws OperatorCreationException ,
257257 CertificateException {
258- ContentSigner signer = new JcaContentSignerBuilder (SIGNATURE_ALGORITHM )
259- .setProvider (PROVIDER_NAME ).build (signedWithPrivateKey );
260- return new JcaX509CertificateConverter ().setProvider (
261- PROVIDER_NAME ).getCertificate (certificateBuilder .build (signer ));
258+ ContentSigner signer = new JcaContentSignerBuilder (SIGNATURE_ALGORITHM ).build (signedWithPrivateKey );
259+ return new JcaX509CertificateConverter ().getCertificate (certificateBuilder .build (signer ));
262260 }
263261
264262 public static TrustManager [] getTrustManagers (KeyStore keyStore )
You can’t perform that action at this time.
0 commit comments