|
|
com.sun.grid.grm.security.ca
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
static java.lang.String |
CA_ALIAS
alias for the ca certificate |
| Constructor Summary | |
|---|---|
GrmCATrustManager(com.sun.grid.grm.bootstrap.ExecutionEnv env)
Creates a new instance of GrmCATrustManager. |
|
GrmCATrustManager(com.sun.grid.grm.bootstrap.ExecutionEnv env,
javax.security.auth.callback.CallbackHandler callbackHandler)
Createa a new GrmCATrustManager which
can use a callback handler to query the path to
the ca cert file. |
|
| Method Summary | |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for client SSL authentication based on the authentication type. |
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for server SSL authentication based on the authentication type. |
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Return an array of certificate authority certificates which are trusted for authenticating peers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CA_ALIAS
| Constructor Detail |
|---|
public GrmCATrustManager(com.sun.grid.grm.bootstrap.ExecutionEnv env)
env - the execution environment
public GrmCATrustManager(com.sun.grid.grm.bootstrap.ExecutionEnv env,
javax.security.auth.callback.CallbackHandler callbackHandler)
GrmCATrustManager which
can use a callback handler to query the path to
the ca cert file.
env - the execution envcallbackHandler - the callback handler| Method Detail |
|---|
public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
throws java.security.cert.CertificateException
checkClientTrusted in interface javax.net.ssl.X509TrustManagerchain - the peer certificate chainauthType - the authentication type based on the client certificate
java.lang.IllegalArgumentException - if null or zero-length chain
is passed in for the chain parameter or if null or zero-length
string is passed in for the authType parameter
java.security.cert.CertificateException - if the certificate chain is not trusted
by this TrustManager.
public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
throws java.security.cert.CertificateException
checkServerTrusted in interface javax.net.ssl.X509TrustManagerchain - the peer certificate chainauthType - the key exchange algorithm used
java.lang.IllegalArgumentException - if null or zero-length chain
is passed in for the chain parameter or if null or zero-length
string is passed in for the authType parameter
java.security.cert.CertificateException - if the certificate chain is not trusted
by this TrustManager.public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
![]() |
By any use of this Website, you agree to be bound by these Policies and Terms of Use. |