Skip to content

TIDO-588 Set validUntil when signing export aggregate #25

Merged
merged 2 commits into from
Feb 10, 2026
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion mdx/incommon/sign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
<property name="certificates">
<list>
<bean id="us_incommon_signingCertificate" parent="mda.X509CertificateFactoryBean"
p:resource="classpath:us_incommon/inc-md-cert.pem"/>
p:resource="classpath:us_incommon/inc-md-cert-mdq.pem"/>
</list>
</property>
</bean>
Expand Down Expand Up @@ -258,6 +258,9 @@
</property>
</bean>

<!-- change validUntil to 14 days out from today's date (by milliseconds) -->
<bean parent="mda.SetValidUntilStage" p:validityDuration="1210000000"/>

<!-- Sign the aggregate -->
<ref bean="signItems" />

Expand Down
5 changes: 4 additions & 1 deletion mdx/incommon/sign_localkey.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
<property name="certificates">
<list>
<bean id="us_incommon_signingCertificate" parent="mda.X509CertificateFactoryBean"
p:resource="classpath:us_incommon/inc-md-cert.pem"/>
p:resource="classpath:us_incommon/inc-md-cert-mdq.pem"/>
</list>
</property>
</bean>
Expand Down Expand Up @@ -259,6 +259,9 @@
</property>
</bean>

<!-- change validUntil to 14 days out from today's date (by milliseconds) -->
<bean parent="mda.SetValidUntilStage" p:validityDuration="1210000000"/>

<!-- Sign the aggregate -->
<ref bean="signItems" />

Expand Down