org.bouncycastle.jsse.provider.ImpersonateTlsClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of impersonator Show documentation
Show all versions of impersonator Show documentation
Spoof TLS/JA3/JA4 and HTTP/2 fingerprints in Java
package org.bouncycastle.jsse.provider;
class ImpersonateTlsClient extends ProvTlsClient {
private final int[] cipherSuites;
ImpersonateTlsClient(ProvTlsManager manager, ProvSSLParameters sslParameters, int[] cipherSuites) {
super(manager, sslParameters);
this.cipherSuites = cipherSuites;
}
@Override
public int[] getCipherSuites() {
return cipherSuites;
}
}