...
See the following example:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <engineSignEncrypt> <descriptors> <descriptor name="ObjectHistorySigner" version="2"> <type algorithm="SHA-256" key="newHistorySigner" /> </descriptor> <descriptor name="ObjectHistorySigner" version="1"> <type algorithm="SHA-256" key="oldHistorySigner" /> </descriptor> <!-- others descriptors --> </descriptors> <keys> <key name="newHistorySigner"> <type name="pkcs12" locationValue="classpath:sign_new.p12" pin="1234"/> </key> <key name="oldHistorySigner"> <type name="pkcs12" locationValue="classpath:sign_old.p12" pin="1234"/> </key> <!-- other keys --> </keys> </engineSignEncrypt> |
...
Descriptor example
Code Block | ||
---|---|---|
| ||
<descriptor name="ObjectHistorySigner" version="1"> <type algorithm="SHA-256" key="objectHistorySignerCert" /> </descriptor> |
...
See the tables below the example for more information about the key/-type.
Key example
Code Block | ||
---|---|---|
| ||
<key name="objectHistorySignerCert"> <type name="pkcs12" locationValue="classpath:sign.p12" pin="1234"/> </key> |
...