org.bouncycastle.tls.crypto.impl.bc.BcX25519Domain 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.impl.bc;
import org.bouncycastle.tls.crypto.TlsAgreement;
import org.bouncycastle.tls.crypto.TlsECDomain;
public class BcX25519Domain implements TlsECDomain
{
protected final BcTlsCrypto crypto;
public BcX25519Domain(BcTlsCrypto crypto)
{
this.crypto = crypto;
}
public TlsAgreement createECDH()
{
return new BcX25519(crypto);
}
}