net.lightbody.bmp.mitm.keys.ECKeyGenerator Java Examples

The following examples show how to use net.lightbody.bmp.mitm.keys.ECKeyGenerator. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ImpersonatingMitmManager.java    From CapturePacket with MIT License 5 votes vote down vote up
/**
 * 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());
}
 
Example #2
Source File: ImpersonatingMitmManager.java    From Dream-Catcher with MIT License 5 votes vote down vote up
/**
 * 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());
}
 
Example #3
Source File: ImpersonatingMitmManager.java    From AndroidHttpCapture with MIT License 5 votes vote down vote up
/**
 * 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());
}