public interface CertificateRequest
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
cancelAlways() |
Cancels the current and subsequent requests.
|
void |
cancelOnce() |
Cancels the current request.
|
String |
getHost() |
Obtains the host name.
|
int |
getPort() |
Obtains the port number.
|
Principal[] |
getPrincipals() |
Obtains the list of acceptable certificate issuers.
|
String[] |
getTypes() |
Obtains the supported private key types.
|
void |
respond(PrivateKey key,
X509Certificate[] chain) |
Returns the specified private key and certificate chain.
|
void respond(PrivateKey key, X509Certificate[] chain)
key - Indicates the private key.chain - Indicates the certificate chain.void cancelOnce()
void cancelAlways()
String getHost()
int getPort()
String[] getTypes()
null.Principal[] getPrincipals()
null.