/** * Convenience method to return a new {@link Builder} instance that will dynamically create EC root certificates and * EC server certificates, but otherwise uses default values. */ public static Builder builderWithECC() { return new Builder() .serverKeyGenerator(new ECKeyGenerator()) .rootCertificateSource(RootCertificateGenerator.builder() .keyGenerator(new ECKeyGenerator()) .build()); }
/** * Convenience method to return a new {@link Builder} instance that will dynamically create EC root certificates and * EC server certificates, but otherwise uses default values. */ public static Builder builderWithECC() { return new Builder() .serverKeyGenerator(new ECKeyGenerator()) .rootCertificateSource(RootCertificateGenerator.builder() .keyGenerator(new ECKeyGenerator()) .build()); }
/** * Convenience method to return a new {@link Builder} instance that will dynamically create EC root certificates and * EC server certificates, but otherwise uses default values. */ public static Builder builderWithECC() { return new Builder() .serverKeyGenerator(new ECKeyGenerator()) .rootCertificateSource(RootCertificateGenerator.builder() .keyGenerator(new ECKeyGenerator()) .build()); }
rootCertificateGenerator = rootCertificateGeneratorBuilder.keyGenerator(new RSAKeyGenerator()).build(); } else { rootCertificateGenerator = rootCertificateGeneratorBuilder.keyGenerator(new ECKeyGenerator()).build();
.serverKeyGenerator(new ECKeyGenerator()) .build(); httpProxyServerBootstrap.withManInTheMiddle(mitmManager).start();
KEYSTORE_PRIVATE_KEY_ALIAS, KEYSTORE_PASSWORD)) .serverKeyGenerator(useEcc ? new ECKeyGenerator() : new RSAKeyGenerator()) .trustSource(trustSource) .build();
KEYSTORE_PRIVATE_KEY_ALIAS, KEYSTORE_PASSWORD)) .serverKeyGenerator(useEcc ? new ECKeyGenerator() : new RSAKeyGenerator()) .trustSource(trustSource) .build();
KEYSTORE_PRIVATE_KEY_ALIAS, KEYSTORE_PASSWORD)) .serverKeyGenerator(useEcc ? new ECKeyGenerator() : new RSAKeyGenerator()) .trustSource(trustSource) .build();