File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
app/src/main/java/org/littleshoot/proxy/mitm Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -255,10 +255,8 @@ private static X509Certificate signCertificate(
255
255
X509v3CertificateBuilder certificateBuilder ,
256
256
PrivateKey signedWithPrivateKey ) throws OperatorCreationException ,
257
257
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 ));
262
260
}
263
261
264
262
public static TrustManager [] getTrustManagers (KeyStore keyStore )
You can’t perform that action at this time.
0 commit comments