interface KeyStoreLoader
Modifier and Type | Method and Description |
---|---|
KeyStore |
loadKeyStore()
Loads a KeyStore which contains at least one private key and the associated X509 cert chain.
|
KeyStore |
loadTrustStore()
Loads a KeyStore which contains at least one X509 cert chain for a trusted Certificate
Authority (CA).
|
KeyStore loadKeyStore() throws IOException, GeneralSecurityException
IOException
- if loading the key store fails due to an IO error, such as
"file not found".GeneralSecurityException
- if loading the key store fails due to a security error, such
as "unsupported crypto algorithm".KeyStore loadTrustStore() throws IOException, GeneralSecurityException
IOException
- if loading the trust store fails due to an IO error, such as
"file not found".GeneralSecurityException
- if loading the trust store fails due to a security error, such
as "unsupported crypto algorithm".Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.