Skip to content

Commit 68b9bfb

Browse files
lavalerijosecorella
authored andcommitted
feat: Add requirements on decryption materials around existence of symmetric signing key (#67)
1 parent 95c9595 commit 68b9bfb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

framework/structures.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,14 @@ MUST be a key in the [encryption context](#encryption-context-2).
307307

308308
The key to be used to validate a symmetric signature during decryption.
309309

310-
The symmetric signature key MUST fit the specification for the [symmetric signature algorithm](algorithm-suites.md#symmetric-signature-algorithm)
310+
If the algorithm suite does not contain a symmetric signing algorithm,
311+
the symmetric signing key MUST NOT be included in the materials.
312+
313+
If the algorithm suite does contain a symmetric signing algorithm,
314+
the symmetric signing key MUST also be included in the materials
315+
if and only if the materials also include a [plaintext data key](#plaintext-data-key-1).
316+
317+
If included, the symmetric signature key MUST fit the specification for the [symmetric signature algorithm](algorithm-suites.md#symmetric-signature-algorithm)
311318
included in this decryption material's [algorithm suite](#algorithm-suite-1).
312319

313320
This value MUST be kept secret.

0 commit comments

Comments
 (0)