Class X509KeyStore
java.lang.Object
com.github.tomakehurst.wiremock.http.ssl.X509KeyStore
Wrapper class to make it easy to retrieve X509 PrivateKey and certificate chains
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.tomakehurst.wiremock.http.ssl.CertificateAuthority
-
Constructor Details
-
X509KeyStore
- Parameters:
keyStore
-KeyStore
to delegate topassword
- used to manage all keys stored in this key store- Throws:
KeyStoreException
- if the keystore has not been loaded
-
-
Method Details
-
getCertificateAuthority
public com.github.tomakehurst.wiremock.http.ssl.CertificateAuthority getCertificateAuthority()- Returns:
- the first key & chain that represent a certificate authority or null if none found
-