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 bctls-jdk14 Show documentation
Show all versions of bctls-jdk14 Show documentation
The Bouncy Castle Java APIs for TLS and DTLS.
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);
}