Package org.apache.tomcat.util.security
Class KeyStoreUtil
- java.lang.Object
- 
- org.apache.tomcat.util.security.KeyStoreUtil
 
- 
 public class KeyStoreUtil extends java.lang.Object
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidload(java.security.KeyStore keystore, java.io.InputStream is, char[] storePass)Loads a KeyStore from an InputStream working around the known JDK bug https://bugs.openjdk.java.net/browse/JDK-8157404.
 
- 
- 
- 
Method Detail- 
loadpublic static void load(java.security.KeyStore keystore, java.io.InputStream is, char[] storePass) throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.io.IOExceptionLoads a KeyStore from an InputStream working around the known JDK bug https://bugs.openjdk.java.net/browse/JDK-8157404. This code can be removed once the minimum Java version for Tomcat is 13.- Parameters:
- keystore- The KeyStore to load from the InputStream
- is- The InputStream to use to populate the KeyStore
- storePass- The password to access the KeyStore
- Throws:
- java.io.IOException- If an I/O occurs reading from the given InputStream
- java.security.cert.CertificateException- If one or more certificates can't be loaded into the KeyStore
- java.security.NoSuchAlgorithmException- If the algorithm specified to validate the integrity of the KeyStore cannot be found
 
 
- 
 
-