We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfea510 commit 942c480Copy full SHA for 942c480
1 file changed
rtmp/src/main/java/com/pedro/rtmp/utils/socket/TcpSocket.kt
@@ -22,15 +22,8 @@ import com.pedro.common.toUInt16
22
import com.pedro.common.toUInt24
23
import com.pedro.common.toUInt32
24
import com.pedro.common.toUInt32LittleEndian
25
-import java.security.cert.X509Certificate
26
import javax.net.ssl.TrustManager
27
-import javax.net.ssl.X509TrustManager
28
29
-class AcceptAllCertificates: X509TrustManager {
30
- override fun checkClientTrusted(chain: Array<out X509Certificate>?, authType: String?) {}
31
- override fun checkServerTrusted(chain: Array<out X509Certificate>?, authType: String?) {}
32
- override fun getAcceptedIssuers(): Array<X509Certificate>? = null
33
-}
34
/**
35
* Created by pedro on 5/4/22.
36
*/
0 commit comments