diff options
-rw-r--r-- | crypto/src/tls/crypto/TlsNonceGenerator.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/src/tls/crypto/TlsNonceGenerator.cs b/crypto/src/tls/crypto/TlsNonceGenerator.cs index 00cadc75d..7dcb5801a 100644 --- a/crypto/src/tls/crypto/TlsNonceGenerator.cs +++ b/crypto/src/tls/crypto/TlsNonceGenerator.cs @@ -8,5 +8,12 @@ namespace Org.BouncyCastle.Tls.Crypto /// <param name="size">the length, in bytes, of the nonce to generate.</param> /// <returns>the nonce value.</returns> byte[] GenerateNonce(int size); + + // TODO[api] +#if false //NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER + /// <summary>Generate a nonce in a given span.</summary> + /// <param name="output">the span to generate the nonce into.</param> + void GenerateNonce(Span<byte> output); +#endif } } |