Package tvi.webrtc
Interface SSLCertificateVerifier
-
public interface SSLCertificateVerifier
The SSLCertificateVerifier interface allows API users to provide custom logic to verify certificates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
verify(byte[] certificate)
Implementations of verify allow applications to provide custom logic for verifying certificates.
-
-
-
Method Detail
-
verify
boolean verify(byte[] certificate)
Implementations of verify allow applications to provide custom logic for verifying certificates. This is not required by default and should be used with care.- Parameters:
certificate
- A byte array containing a DER encoded X509 certificate.- Returns:
- True if the certificate is verified and trusted else false.
-
-