public class CertUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static KeyStore |
createKeyStore(InputStream certInputStream,
InputStream keyInputStream,
String clientKeyAlgo,
char[] clientKeyPassphrase) |
static KeyStore |
createKeyStore(String clientCertData,
String clientCertFile,
String clientKeyData,
String clientKeyFile,
String clientKeyAlgo,
char[] clientKeyPassphrase) |
static InputStream |
getInputStreamFromDataOrFile(String data,
String file) |
public static InputStream getInputStreamFromDataOrFile(String data, String file) throws FileNotFoundException
FileNotFoundExceptionpublic static KeyStore createKeyStore(InputStream certInputStream, InputStream keyInputStream, String clientKeyAlgo, char[] clientKeyPassphrase) throws IOException, CertificateException, NoSuchAlgorithmException, InvalidKeySpecException, KeyStoreException
public static KeyStore createKeyStore(String clientCertData, String clientCertFile, String clientKeyData, String clientKeyFile, String clientKeyAlgo, char[] clientKeyPassphrase) throws IOException, CertificateException, NoSuchAlgorithmException, InvalidKeySpecException, KeyStoreException
Copyright © 2015–2024 Red Hat. All rights reserved.