Skip to content

Commit 27ee485

Browse files
committed
Update HKDF documentation
1 parent 82c4400 commit 27ee485

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

docs/api/nsec.cryptography.keyderivationalgorithm.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ An array of bytes that contains the derived bytes.
132132
ArgumentNullException
133133
: `sharedSecret` is `null`.
134134

135+
ArgumentException
136+
: `inputKeyingMaterial` is empty.
137+
135138
ArgumentException
136139
: `salt.Length` is less than
137140
[[MinSaltSize|KeyDerivationAlgorithm Class#MinSaltSize]]
@@ -195,6 +198,9 @@ bytes
195198
ArgumentNullException
196199
: `sharedSecret` is `null`.
197200

201+
ArgumentException
202+
: `inputKeyingMaterial` is empty.
203+
198204
ArgumentException
199205
: `salt.Length` is less than
200206
[[MinSaltSize|KeyDerivationAlgorithm Class#MinSaltSize]]
@@ -270,6 +276,9 @@ A new instance of the [[Key|Key Class]] class that represents the derived key.
270276
ArgumentNullException
271277
: `sharedSecret` or `algorithm` is `null`.
272278

279+
ArgumentException
280+
: `inputKeyingMaterial` is empty.
281+
273282
ArgumentException
274283
: `salt.Length` is less than
275284
[[MinSaltSize|KeyDerivationAlgorithm Class#MinSaltSize]]

docs/api/nsec.cryptography.keyderivationalgorithm2.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ An array of bytes that contains the derived bytes.
159159
ArgumentNullException
160160
: `sharedSecret` is `null`.
161161

162+
ArgumentException
163+
: `inputKeyingMaterial` is empty.
164+
162165
ArgumentException
163166
: `salt.Length` is less than
164167
[[MinSaltSize|KeyDerivationAlgorithm Class#MinSaltSize]]
@@ -224,6 +227,9 @@ bytes
224227
ArgumentNullException
225228
: `sharedSecret` is `null`.
226229

230+
ArgumentException
231+
: `inputKeyingMaterial` is empty.
232+
227233
ArgumentException
228234
: `salt.Length` is less than
229235
[[MinSaltSize|KeyDerivationAlgorithm Class#MinSaltSize]]
@@ -301,6 +307,9 @@ A new instance of the [[Key|Key Class]] class that represents the derived key.
301307
ArgumentNullException
302308
: `sharedSecret` or `algorithm` is `null`.
303309

310+
ArgumentException
311+
: `inputKeyingMaterial` is empty.
312+
304313
ArgumentException
305314
: `salt.Length` is less than
306315
[[MinSaltSize|KeyDerivationAlgorithm Class#MinSaltSize]]
@@ -347,6 +356,9 @@ An array of bytes that contains the extracted pseudorandom key.
347356
ArgumentNullException
348357
: `sharedSecret` is `null`.
349358

359+
ArgumentException
360+
: `inputKeyingMaterial` is empty.
361+
350362
ArgumentException
351363
: `salt.Length` is less than
352364
[[MinSaltSize|KeyDerivationAlgorithm2 Class#MinSaltSize]]
@@ -392,6 +404,9 @@ pseudorandomKey
392404
ArgumentNullException
393405
: `sharedSecret` is `null`.
394406

407+
ArgumentException
408+
: `inputKeyingMaterial` is empty.
409+
395410
ArgumentException
396411
: `salt.Length` is less than
397412
[[MinSaltSize|KeyDerivationAlgorithm2 Class#MinSaltSize]]

0 commit comments

Comments
 (0)