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 ISVNAuthenticationManager
private String
private SVNSSLAuthentication
private Exception
private boolean
private KeyManager[]
private final String
private final SVNURL
-
Constructor Summary
ConstructorsConstructorDescriptionHTTPSSLKeyManager
(ISVNAuthenticationManager authenticationManager, String realm, SVNURL url) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acknowledgeAndClearAuthentication
(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 boolean
private boolean
boolean
private static boolean
isMSCAPI
(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:
getClientAliases
in interfaceX509KeyManager
-
chooseClientAlias
- Specified by:
chooseClientAlias
in interfaceX509KeyManager
-
getServerAliases
- Specified by:
getServerAliases
in interfaceX509KeyManager
-
chooseServerAlias
- Specified by:
chooseServerAlias
in interfaceX509KeyManager
-
getCertificateChain
- Specified by:
getCertificateChain
in interfaceX509KeyManager
-
getPrivateKey
- Specified by:
getPrivateKey
in interfaceX509KeyManager
-
getException
-
acknowledgeAndClearAuthentication
- Throws:
SVNException
-
isInitialized
public boolean isInitialized() -
initializeNoException
private boolean initializeNoException() -
initialize
- Throws:
SVNException
-
getX509KeyManagers
-
isMSCAPI
-