FileDocCategorySizeDatePackage
X509TrustManager.javaAPI DocAndroid 1.5 API3169Wed May 06 22:41:06 BST 2009javax.net.ssl

X509TrustManager

public interface X509TrustManager implements TrustManager
The trust manager for X509 certificates to be used to perform authentication for secure sockets.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public voidcheckClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.

param
chain the certificate chain to validate.
param
authType the authentication type used.
throws
CertificateException if the certificate chain can't be validated or isn't trusted.
throws
IllegalArgumentException if the specified certificate chain is empty or {@code null}, or if the specified authentication type is {@code null} or an empty string.
since
Android 1.0

public voidcheckServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm.

param
chain the certificate chain to validate.
param
authType the key exchange algorithm name.
throws
CertificateException if the certificate chain can't be validated or isn't trusted.
throws
IllegalArgumentException if the specified certificate chain is empty or {@code null}, or if the specified authentication type is {@code null} or an empty string.
since
Android 1.0

public java.security.cert.X509Certificate[]getAcceptedIssuers()
Returns the list of certificate issuer authorities which are trusted for authentication of peers.

return
the list of certificate issuer authorities which are trusted for authentication of peers.
since
Android 1.0