Package com.zebra.rfid.api3
Class CustomTrustManager
java.lang.Object
com.zebra.rfid.api3.CustomTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
CustomTrustManager: This class contains trust related information
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] x509Certificates, String s) voidcheckServerTrusted(X509Certificate[] x509CertificateArray, String authType)
-
Constructor Details
-
CustomTrustManager
public CustomTrustManager()
-
-
Method Details
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509CertificateArray, String authType) throws CertificateException - Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException - Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getDefaultCertificates
-