public class TokenRequestX509 extends Object
| Constructor and Description |
|---|
TokenRequestX509(String privateKey,
String certificate) |
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
createKeyStore(PrivateKey privateKey,
List<X509Certificate> x509s) |
List<X509Certificate> |
getCertificatesFromString(String certificates) |
SSLContext |
getSslContext() |
public SSLContext getSslContext() throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionpublic KeyStore createKeyStore(PrivateKey privateKey, List<X509Certificate> x509s) throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
public List<X509Certificate> getCertificatesFromString(String certificates) throws CertificateException, IOException
CertificateExceptionIOExceptionCopyright © 2022. All rights reserved.