You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Voeg signing en encryption modules toe als normatief (#276)
Hiermee worden ze officieel vastgesteld als normatieve modules
voor alle REST API's. Op dit moment zijn ze enkel normatief
binnen het REST API profiel van Digikoppeling. De modules zijn
al vastgesteld bij het kennisplatform en als onderdeel van
Digikoppeling, maar niet als losstaande documenten.
Copy file name to clipboardExpand all lines: sections/designRules.md
+55-4Lines changed: 55 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -927,16 +927,17 @@ Services (potentially) including script code (e.g. JavaScript) in their response
927
927
928
928
* Ensure the intended Content-Type headers are sent in the response, matching the body content, e.g. `application/json` and not `application/javascript`.
929
929
930
-
## Geospatial
930
+
## Normative modules
931
931
932
-
Geospatial data refers to information that is associated with a physical location on Earth, often expressed by its 2D/3D coordinates.
932
+
The following modules are normative for all REST API's.
<pclass="rulelab">Apply the signing module for signing payloads</p>
956
+
<dl>
957
+
<dt>Statement</dt>
958
+
<dd>
959
+
<p>The [[[ADR-signing]]] version 1.0.x MUST be applied when signing payloads.
960
+
<p class="note">This rule does not dictate signing.
961
+
Instead, it only applies in situations where there is a need for assurance of end to end message integrity and authenticity between client application and server application.
962
+
In those situations, [[[ADR-signing]]] specifies how to sign.
963
+
</dd>
964
+
<dt>Rationale</dt>
965
+
<dd>
966
+
The [[[ADR-signing]]] formalizes as set of rules regarding:
967
+
<ol>
968
+
<li>How to sign data in request and response payloads.</li>
<pclass="rulelab">Apply the encryption module for encrypting payloads</p>
977
+
<dl>
978
+
<dt>Statement</dt>
979
+
<dd>
980
+
<p>The [[[ADR-encryption]]] version 1.0.x MUST be applied when encrypting payloads.
981
+
<p class="note">This rule does not dictate encryption.
982
+
Instead, it only applies in situations where there is a need for end to end message payload confidentiality between client application and server application.
983
+
In those situations, [[[ADR-encryption]]] specifies how to encrypt.
984
+
</dd>
985
+
<dt>Rationale</dt>
986
+
<dd>
987
+
The [[[ADR-encryption]]] formalizes as set of rules regarding:
988
+
<ol>
989
+
<li>How to encrypt data in request and response payloads.</li>
990
+
<li>The flow of operations between client and server.</li>
991
+
</ol>
992
+
</dd>
993
+
</dl>
994
+
</div>
995
+
996
+
If both the signing and encryption modules apply, use the following flow of operations:
0 commit comments