public class KeystoreManager
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
static class |
KeystoreManager.IssuerSerial |
| Constructor and Description |
|---|
KeystoreManager(java.lang.String identityStorePath,
java.lang.String identityStoreType,
java.lang.String identityStorePassword,
java.lang.String trustStorePath,
java.lang.String trustStoreType,
java.lang.String trustStorePassword)
Create a KeystoreManager for the given identity and trust keystores
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
java.security.cert.X509Certificate[] |
getCertificatesByIssuerSerial(java.lang.String issuerName,
java.math.BigInteger serial) |
void |
setSignCertAliasList(java.lang.String[] signCertAliasList)
Set an array of certificate aliases to be attached to signatures
|
public KeystoreManager(java.lang.String identityStorePath,
java.lang.String identityStoreType,
java.lang.String identityStorePassword,
java.lang.String trustStorePath,
java.lang.String trustStoreType,
java.lang.String trustStorePassword)
identityStorePath - path to the identity keystoreidentityStoreType - keystore type of the identity keystoreidentityStorePassword - password to the identity keystoretrustStorePath - path to the trust keystoretrustStoreType - keystore type of the trust keystoretrustStorePassword - password to the trust keystorepublic java.security.cert.X509Certificate[] getCertificatesByIssuerSerial(java.lang.String issuerName,
java.math.BigInteger serial)
public void setSignCertAliasList(java.lang.String[] signCertAliasList)
signCertAliasList - a String array of aliases which maybe specified as a comma separated String in Springpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception