org.bouncycastle.tls.crypto.TlsECConfig 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.tls.crypto;
import org.bouncycastle.tls.NamedGroup;
/**
* Carrier class for Elliptic Curve parameter configuration.
*/
public class TlsECConfig
{
protected final int namedGroup;
public TlsECConfig(int namedGroup)
{
this.namedGroup = namedGroup;
}
/**
* Return the group used.
*
* @return the {@link NamedGroup named group} used.
*/
public int getNamedGroup()
{
return namedGroup;
}
}