-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsp-config.xml
More file actions
28 lines (24 loc) · 1.22 KB
/
tsp-config.xml
File metadata and controls
28 lines (24 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd">
<!--
<bean id="passwordProtection" class="java.security.KeyStore.PasswordProtection">
<constructor-arg name="password" value="whrmbQRp2nZHx7T5" />
</bean>
<bean id="tsa-token" class="eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection">
<constructor-arg name="ksFile" type="java.io.File" value="classpath:self_signed_tsa.p12" />
<constructor-arg name="ksType" value="PKCS12" />
<constructor-arg name="ksPassword" ref="passwordProtection" />
</bean>
<bean id="tspSource" class="eu.europa.esig.dss.x509.tsp.MockTSPSource">
<property name="token" ref="tsa-token" />
<property name="alias" value="self-signed-tsa" />
</bean>
-->
<bean id="tspSource" class="eu.europa.esig.dss.service.tsp.OnlineTSPSource">
<property name="tspServer" value="http://apisix-gw-lb:9080/tsa" />
</bean>
</beans>