Documentation

Certificates

In God we trust. All others must submit an X.509 certificate.

attributed to Charles Forsythe

To get a reference to a java.security.cert.Certificate, use the certificate tag like this:

<crypt:certificate id="certificate" keystore-ref="keystore" alias="test"/>

<crypt:keystore id="keystore" location="classpath:keystore.jks" password="password"/>