C D G H I L S U V _

C

com.sap.security.core.server.https - package com.sap.security.core.server.https
 
convertCertificateToKeyStore(InputStream, char[]) - Method in class com.sap.security.core.server.https.Utils
converts a single certificate to a java KeyStore instance, which can be used as trusted CA keystore for SecureConnectionFactory.
convertPKCS12ToKeyStore(InputStream, char[]) - Static method in class com.sap.security.core.server.https.Utils
converts a PKCS#12 structure to a java KeyStore instance, which can be used as credentials keystore for SecureConnectionFactory.
convertPKCS7ToKeyStore(InputStream, char[]) - Method in class com.sap.security.core.server.https.Utils
converts a PKCS#7 chain of certificates to a java KeyStore instance
createSocket(InetAddress, int) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.
createSocket(InetAddress, int, InetAddress, int) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.

createSocket(InetAddress, int, InetAddress, int, String[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.

createSocket(InetAddress, int, String[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.
createSocket(String, int) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.

This method establishes a connection using proxy setting specified in System properties.
createSocket(String, int) - Method in interface com.sap.security.core.server.https.SocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.
createSocket(String, int, InetAddress, int, String[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.
createSocket(String, int, Socket) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.

This constructor should be used when tunneling SSL through a proxy.
createSocket(String, int, Socket) - Method in interface com.sap.security.core.server.https.SocketFactory
 
createSocket(String, int, Socket, String[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.

This constructor should be used when tunneling SSL through a proxy.
createSocket(String, int, String[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates (ssl)socket based on local credentials.

This method establishes a connection using proxy setting specified in System properties.
createURLConnection(String) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates HttpUrlConnection based on local credentials.
createURLConnection(String, String) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates HttpUrlConnection based on local credentials.
createURLConnection(String, String[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates HttpUrlConnection based on local credentials.
createURLConnection(String, String, int, String) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates an a HttpURLConnection based on protocol, host, port and file.
createURLConnection(String, String, int, String, String) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates HttpUrlConnection based on local credentials.
createURLConnection(String, String, int, String, String[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates HttpUrlConnection based on local credentials.

D

DefaultHostnameVerifier - class com.sap.security.core.server.https.DefaultHostnameVerifier.
This class provides a default implementation of hostname verifier.

G

getClientAliases(KeyStore) - Static method in class com.sap.security.core.server.https.Utils
Returns a list of client aliases identifying client certificates
getConnectionHeader() - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Returns the value of the "Connection"- header used by the factory.
getDefault() - Static method in class com.sap.security.core.server.https.SecureConnectionFactory
Creates a default instance of SecureConnectionFactory.
getHttpHeaders(HttpURLConnection) - Static method in class com.sap.security.core.server.https.Utils
Extracts http-headers from HttpURLConnection
getJavaDefaultKeystore() - Static method in class com.sap.security.core.server.https.Utils
Looks for default SUN Keystore (cacerts), loads and returns it as KeyStore object.
getNonStrictInstance() - Static method in class com.sap.security.core.server.https.DefaultHostnameVerifier
 
getProxySocket(String, int) - Static method in class com.sap.security.core.server.https.Utils
Creates a socket for SSL over proxy, which can be used in createSocket-method.
getProxySocket(String, int, String, int) - Static method in class com.sap.security.core.server.https.Utils
Creates a socket for SSL over proxy, which can be used in createSocket-method.
getProxySocket(String, int, String, int, String, String) - Static method in class com.sap.security.core.server.https.Utils
Creates a socket for SSL over proxy, which can be used in createSocket-method.
getProxySocket(String, int, String, String) - Static method in class com.sap.security.core.server.https.Utils
Creates a socket for SSL over proxy, which can be used in createSocket-method.
getProxySocket(String, int, String, String, int, String, String) - Static method in class com.sap.security.core.server.https.Utils
 
getStrictInstance() - Static method in class com.sap.security.core.server.https.DefaultHostnameVerifier
 

H

hasClientCertificates(KeyStore) - Method in class com.sap.security.core.server.https.Utils
Checks whether the keystore contains client certificates.
headersToString(Hashtable) - Static method in class com.sap.security.core.server.https.Utils
Visualizes http-headers from HttpURLConnection.
HostnameVerifier - interface com.sap.security.core.server.https.HostnameVerifier.
HostnameVerifier provides a callback mechanism so that implementers of this interface can supply a policy for handling the case where the host to connect to and the server name from the certificate mismatch.

I

initFactory(Certificate[], Object[]) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
 
initFactory(KeyStore, Object, KeyStore, Object) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
 
isNonProxyHost(String) - Static method in class com.sap.security.core.server.https.Utils
Tests if the connection to the host should be established using proxy settings configured in system properties.

L

loadAsBytes(HttpURLConnection) - Static method in class com.sap.security.core.server.https.Utils
Reads all available data from InputStream provided by given connection.
loadAsBytes(InputStream) - Static method in class com.sap.security.core.server.https.Utils
Reads all available data from provided InputStream.

S

SecureConnectionFactory - class com.sap.security.core.server.https.SecureConnectionFactory.
This factory class should be used within SAP J2EE Server to create HttpsUrlConnection and SSLSocket instances based on given security credentials (key stores).
SecureConnectionFactory(Certificate[], Object[]) - Constructor for class com.sap.security.core.server.https.SecureConnectionFactory
This constructor is provided because of some special needs of WEBSERVICES Project.
SecureConnectionFactory(KeyStore) - Constructor for class com.sap.security.core.server.https.SecureConnectionFactory
Creates a new factory based on given credentials.
SecureConnectionFactory(KeyStore, KeyStore) - Constructor for class com.sap.security.core.server.https.SecureConnectionFactory
Creates a new factory based on given credentials.
SecureConnectionFactory(KeyStore, Object, KeyStore, Object) - Constructor for class com.sap.security.core.server.https.SecureConnectionFactory
Creates a new connection factory based on given credentials.
SecureConnectionFactory(String, String) - Constructor for class com.sap.security.core.server.https.SecureConnectionFactory
Constructor to use within SAP J2EE Server.
setBasicAuthenticationHeader(HttpURLConnection, String, String) - Static method in class com.sap.security.core.server.https.Utils
Adds basic-authentication header to a HttpURLConnection.
setConnectionHeader(String) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Sets the value of the "Connection" - header used by the factory.
setDefaultSSLContext(Object) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Allows a customizing of SSLClientContext used be the factory.
setHostnameVerifier(HostnameVerifier) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Sets the hostname verifier.
If the default verifier doesn't meet the requirements a customised verifier can be used, e.g.
factory.setHostnameVerifier(new HostnameVerifier (){ public boolean verify (String urlHostname, String certHostname ) { // compare the strings on your way return ...; } });
setHostnameVerifier(HttpURLConnection, HostnameVerifier) - Static method in class com.sap.security.core.server.https.Utils
 
setIgnoreServerCertificate(boolean) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Acitivates/deactivates verification of server certificate.
setIgnoreServerCertificate(HttpURLConnection) - Static method in class com.sap.security.core.server.https.Utils
Skips server certificate verification for given connection.
setIgnoreServerCertificate(Socket) - Static method in class com.sap.security.core.server.https.Utils
Skips server certificate verification for a given socket.
setProxyAuthentication(HttpURLConnection, String, String) - Static method in class com.sap.security.core.server.https.Utils
Adds proxy authentication header to a HttpURLConnection.
setSSLDebugStream(HttpURLConnection, OutputStream) - Static method in class com.sap.security.core.server.https.Utils
Replicates the debugging outputs to specified output stream (e.g.
setSSLDebugStream(OutputStream) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Replicates the debugging outputs to specified output stream. (e.g.
setUseProxyForSocketConnection(boolean) - Method in class com.sap.security.core.server.https.SecureConnectionFactory
Defines whether the SecureConnectionFactory.createSocket(String, int) and SecureConnectionFactory.createSocket(String, int, String[]) methods should determine proxy setting using System properties.
SocketFactory - interface com.sap.security.core.server.https.SocketFactory.
This is an abstract interface for using within a HTTP/WebDAV library developed by SAP DTR team.

U

Utils - class com.sap.security.core.server.https.Utils.
This class contains several static utility methods for use with SecureConnectionFactory.
Utils() - Constructor for class com.sap.security.core.server.https.Utils
 

V

verify(String, String) - Method in class com.sap.security.core.server.https.DefaultHostnameVerifier
Compares the hostname with the name from server certifiate.
verify(String, String) - Method in interface com.sap.security.core.server.https.HostnameVerifier
Compares the hostname with the name from server certificate.

_

_isIAIKavailable - Variable in class com.sap.security.core.server.https.SecureConnectionFactory
 

C D G H I L S U V _