Package tvi.webrtc
Interface SSLCertificateVerifier
public interface SSLCertificateVerifier
The SSLCertificateVerifier interface allows API users to provide custom
logic to verify certificates.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
verify
(byte[] certificate) Implementations of verify allow applications to provide custom logic for verifying certificates.
-
Method Details
-
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.
-