summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-12-05 11:53:51 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-12-05 11:53:51 +0700
commit409887caa82f47f5b81aadcf4d289f9f06fd6fbf (patch)
tree70b4da27575f95390a958a761f5d77d86f8c6089 /crypto
parentFix RFC reference (diff)
downloadBouncyCastle.NET-ed25519-409887caa82f47f5b81aadcf4d289f9f06fd6fbf.tar.xz
Add TODO[api]
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/tls/crypto/TlsNonceGenerator.cs7
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 } }