Skip to content

Commit edb21cb

Browse files
AkretschDDvO
andauthored
Apply suggestions from code review
Co-authored-by: David von Oheimb <[email protected]>
1 parent a7e78df commit edb21cb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/main/java/com/siemens/pki/cmpracomponent/configuration/CmpMessageInterface.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,13 @@ default String getRecipient() {
8888
ReprotectMode getReprotectMode();
8989

9090
/**
91-
* enforce protection mode of outgoing messages as given by
92-
* {@link #getReprotectMode()} even if the last incoming message was
93-
* MAC-based protected.
94-
* @return <code>true</code>, if reprotection can be enforced,
95-
* <code>false</code> if response to an MAC-based protected request should
91+
* on downstream interfaces, optionally disable special automatic re-protection of
92+
* outgoing messages when responding to a request that had MAC-based protection.
93+
* This configuration item is ignored on upstream interfaces.
94+
* @return <code>true</code>, if reprotection shall be handled as given by
95+
* {@link #getReprotectMode()} (using, e.g., supplied credentials for signature-based protection)
96+
* even when responding to a request with MAC-based protection.
97+
* <code>false</code> if response to a request with MAC-based protection should
9698
* be protected in the same way (with same MAC credentials etc.) as the request.
9799
*/
98100
default boolean isEnforceReprotectMode() {

0 commit comments

Comments
 (0)