public class X509KeyManager extends Object implements X509KeyManager
Constructor and Description |
---|
X509KeyManager(org.opensaml.xml.security.x509.X509Credential credential)
Credential used for authentication of the server/client.
|
Modifier and Type | Method and Description |
---|---|
String |
chooseClientAlias(String[] strings,
Principal[] principals,
Socket socket) |
String |
chooseServerAlias(String s,
Principal[] principals,
Socket socket) |
X509Certificate[] |
getCertificateChain(String s) |
String[] |
getClientAliases(String s,
Principal[] principals) |
PrivateKey |
getPrivateKey(String s) |
String[] |
getServerAliases(String s,
Principal[] principals) |
public X509KeyManager(org.opensaml.xml.security.x509.X509Credential credential)
credential
- credential or null for manager returning always empty valuespublic String[] getClientAliases(String s, Principal[] principals)
getClientAliases
in interface X509KeyManager
public String chooseClientAlias(String[] strings, Principal[] principals, Socket socket)
chooseClientAlias
in interface X509KeyManager
public String[] getServerAliases(String s, Principal[] principals)
getServerAliases
in interface X509KeyManager
public String chooseServerAlias(String s, Principal[] principals, Socket socket)
chooseServerAlias
in interface X509KeyManager
public X509Certificate[] getCertificateChain(String s)
getCertificateChain
in interface X509KeyManager
public PrivateKey getPrivateKey(String s)
getPrivateKey
in interface X509KeyManager