|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TrustManager interface permits the user to override certain validation errors in the peer's certificate chain and allow the handshake to continue. This interface also permits the user to perform additional validation on the peer certificate chain and interrupt the handshake if need be.
Field Summary | |
static int |
ERR_CERT_CHAIN_INCOMPLETE
An incomplete certificate chain is when a chain does not include a self signed root CA certificate |
static int |
ERR_CERT_CHAIN_INVALID
An invalid certificate chain is when a certificate is not issued by the succeeding certificate in the chain |
static int |
ERR_CERT_CHAIN_UNTRUSTED
None of the certificates in the chain can be found in the list of trusted certificates |
static int |
ERR_CERT_EXPIRED
An expired certificate |
static int |
ERR_NONE
No error has been detected |
static int |
ERR_SIGNATURE_INVALID
A certificate has an invalid signature when the public key of the succeeding certificate does not verify the signature in the certificate |
Method Summary | |
boolean |
certificateCallback(javax.security.cert.X509Certificate[] chain,
int validateErr)
Called by the SSL library when a peer presents a certificate chain. |
Field Detail |
public static final int ERR_NONE
public static final int ERR_CERT_CHAIN_INVALID
public static final int ERR_CERT_EXPIRED
public static final int ERR_CERT_CHAIN_INCOMPLETE
public static final int ERR_SIGNATURE_INVALID
public static final int ERR_CERT_CHAIN_UNTRUSTED
Method Detail |
public boolean certificateCallback(javax.security.cert.X509Certificate[] chain, int validateErr)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |