31 lines
826 B
Java
31 lines
826 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* javax.baja.security.crypto.BTlsEnum
|
|
*/
|
|
package com.tridium.platcrypto.socket;
|
|
|
|
import com.tridium.platcrypto.socket.CryptoClientNoArgSocketFactory;
|
|
import javax.baja.security.crypto.BTlsEnum;
|
|
import javax.net.SocketFactory;
|
|
import javax.net.ssl.SSLSocketFactory;
|
|
|
|
public final class CryptoClientTlsSocketFactory
|
|
extends CryptoClientNoArgSocketFactory {
|
|
public static final SocketFactory getDefault() {
|
|
try {
|
|
return new CryptoClientTlsSocketFactory();
|
|
}
|
|
catch (Exception exception) {
|
|
exception.printStackTrace();
|
|
return SSLSocketFactory.getDefault();
|
|
}
|
|
}
|
|
|
|
public CryptoClientTlsSocketFactory() throws Exception {
|
|
super(BTlsEnum.DEFAULT.getTag());
|
|
}
|
|
}
|
|
|