org.bouncycastle.tls.crypto.TlsNonceGenerator 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;
public interface TlsNonceGenerator
{
/**
* Generate a nonce byte[] string.
*
* @param size the length, in bytes, of the nonce to generate.
* @return the nonce value.
*/
byte[] generateNonce(int size);
}