HP Matrix Operating Environment Software manual Sample Java Client

Models: Matrix Operating Environment Software

1 111
Download 111 pages 21.04 Kb
Page 80
Image 80

/** Empty array of certificate authority certificates. */ private static final X509Certificate[] acceptedIssuers =

new X509Certificate[] {};

/**

*Always trust for client SSL chain peer certificate chain with any

*authType authentication types.

*

*@param chain The peer certificate chain.

*@param authType The authentication type based on the client

*certificate.

*/

public void checkClientTrusted( X509Certificate[] chain, String authType) throws CertificateException {

}

/**

*Always trust for server SSL chain peer certificate chain with any

*authType exchange algorithm types.

*

*@param chain The peer certificate chain.

*@param authType The key exchange algorithm used.

*/

public void checkServerTrusted( X509Certificate[] chain, String authType) throws CertificateException {

}

/**

*Return an empty array of certificate authority certificates which

*are trusted for authenticating peers.

*

*@return an empty array of issuer certificates.

*/

public X509Certificate[] getAcceptedIssuers() { return (acceptedIssuers);

}

}

80 Sample Java Client

Page 80
Image 80
HP Matrix Operating Environment Software manual Sample Java Client