Class TokenRequestX509
- java.lang.Object
-
- com.sap.cloud.servicesdk.xbem.extension.sapcp.jms.httpconnection.x509.TokenRequestX509
-
public class TokenRequestX509 extends Object
-
-
Constructor Summary
Constructors Constructor Description TokenRequestX509(String privateKey, String certificate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStorecreateKeyStore(PrivateKey privateKey, List<X509Certificate> x509s)List<X509Certificate>getCertificatesFromString(String certificates)SSLContextgetSslContext()
-
-
-
Method Detail
-
getSslContext
public SSLContext getSslContext() throws GeneralSecurityException, IOException
- Throws:
GeneralSecurityExceptionIOException
-
createKeyStore
public KeyStore createKeyStore(PrivateKey privateKey, List<X509Certificate> x509s) throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
-
getCertificatesFromString
public List<X509Certificate> getCertificatesFromString(String certificates) throws CertificateException, IOException
- Throws:
CertificateExceptionIOException
-
-