public interface Certificate
Certificate
interface represents the certificate
that is sent by a client during a secure HTTPS conversation. This
may or may not contain an X509 certificate chain from the client.
If it does not a CertificateChallenge
may be used to
issue a renegotiation of the connection. One completion of the
renegotiation the challenge executes a completion operation.CertificateChallenge
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
getChain()
This will return the X509 certificate chain, if any, that
has been sent by the client.
|
CertificateChallenge |
getChallenge()
This returns a challenge for the certificate.
|
boolean |
isChainPresent()
This is used to determine if the X509 certificate chain is
present for the request.
|
X509Certificate[] getChain() throws Exception
Exception
CertificateChallenge getChallenge() throws Exception
Runnable
task which is to
be executed when the challenge has completed. Typically this
task should be used to drive completion of an HTTPS request.Exception
Copyright © 2015. All rights reserved.