Class HTTPSSLKeyManager
java.lang.Object
org.tmatesoft.svn.core.internal.io.dav.http.HTTPSSLKeyManager
- All Implemented Interfaces:
KeyManager,X509KeyManager
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ISVNAuthenticationManagerprivate Stringprivate SVNSSLAuthenticationprivate Exceptionprivate booleanprivate KeyManager[]private final Stringprivate final SVNURL -
Constructor Summary
ConstructorsConstructorDescriptionHTTPSSLKeyManager(ISVNAuthenticationManager authenticationManager, String realm, SVNURL url) -
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledgeAndClearAuthentication(SVNErrorMessage errorMessage) chooseClientAlias(String[] strings, Principal[] principals, Socket socket) chooseServerAlias(String location, Principal[] principals, Socket socket) getCertificateChain(String location) String[]getClientAliases(String location, Principal[] principals) getPrivateKey(String string) String[]getServerAliases(String location, Principal[] principals) private static List<X509KeyManager>getX509KeyManagers(KeyManager[] keyManagers) private booleanprivate booleanbooleanprivate static booleanisMSCAPI(SVNSSLAuthentication sslAuthentication) static KeyManager[]static KeyManager[]loadClientCertificate(byte[] clientCert, char[] clientCertPassword) static KeyManager[]loadClientCertificate(File clientCertFile, char[] clientCertPassword) static KeyManager[]loadClientCertificate(File clientCertFile, String clientCertPassword) Deprecated.loadClientCertificate(SVNSSLAuthentication sslAuthentication)
-
Field Details
-
authenticationManager
-
realm
-
url
-
myKeyManagers
-
myAuthentication
-
myException
-
chooseAlias
-
myIsFirstRequest
private boolean myIsFirstRequest
-
-
Constructor Details
-
HTTPSSLKeyManager
-
-
Method Details
-
loadClientCertificate
- Throws:
SVNException
-
loadClientCertificate
public static KeyManager[] loadClientCertificate(File clientCertFile, String clientCertPassword) throws SVNException Deprecated.- Parameters:
clientCertFile-clientCertPassword-- Returns:
- Throws:
SVNException
-
loadClientCertificate
public static KeyManager[] loadClientCertificate(byte[] clientCert, char[] clientCertPassword) throws SVNException - Throws:
SVNException
-
loadClientCertificate
public static KeyManager[] loadClientCertificate(File clientCertFile, char[] clientCertPassword) throws SVNException - Throws:
SVNException
-
loadClientCertificate
public KeyManager[] loadClientCertificate(SVNSSLAuthentication sslAuthentication) throws SVNException - Throws:
SVNException
-
getClientAliases
- Specified by:
getClientAliasesin interfaceX509KeyManager
-
chooseClientAlias
- Specified by:
chooseClientAliasin interfaceX509KeyManager
-
getServerAliases
- Specified by:
getServerAliasesin interfaceX509KeyManager
-
chooseServerAlias
- Specified by:
chooseServerAliasin interfaceX509KeyManager
-
getCertificateChain
- Specified by:
getCertificateChainin interfaceX509KeyManager
-
getPrivateKey
- Specified by:
getPrivateKeyin interfaceX509KeyManager
-
getException
-
acknowledgeAndClearAuthentication
- Throws:
SVNException
-
isInitialized
public boolean isInitialized() -
initializeNoException
private boolean initializeNoException() -
initialize
- Throws:
SVNException
-
getX509KeyManagers
-
isMSCAPI
-