Class SSLConfiguration
- java.lang.Object
-
- de.dytanic.cloudnet.driver.network.ssl.SSLConfiguration
-
public class SSLConfiguration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.nio.file.PathcertificatePathprotected booleanclientAuthprotected java.nio.file.PathprivateKeyPathprotected java.nio.file.PathtrustCertificatePath
-
Constructor Summary
Constructors Constructor Description SSLConfiguration(boolean clientAuth, java.io.File trustCertificatePath, java.io.File certificatePath, java.io.File privateKeyPath)Deprecated.SSLConfiguration(boolean clientAuth, java.nio.file.Path trustCertificatePath, java.nio.file.Path certificatePath, java.nio.file.Path privateKeyPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.nio.file.PathgetCertificate()java.io.FilegetCertificatePath()Deprecated.java.nio.file.PathgetPrivateKey()java.io.FilegetPrivateKeyPath()Deprecated.java.nio.file.PathgetTrustCertificate()java.io.FilegetTrustCertificatePath()Deprecated.booleanisClientAuth()
-
-
-
Constructor Detail
-
SSLConfiguration
@Deprecated public SSLConfiguration(boolean clientAuth, java.io.File trustCertificatePath, java.io.File certificatePath, java.io.File privateKeyPath)Deprecated.
-
SSLConfiguration
public SSLConfiguration(boolean clientAuth, java.nio.file.Path trustCertificatePath, java.nio.file.Path certificatePath, java.nio.file.Path privateKeyPath)
-
-
Method Detail
-
isClientAuth
public boolean isClientAuth()
-
getTrustCertificatePath
@Deprecated public java.io.File getTrustCertificatePath()
Deprecated.
-
getCertificatePath
@Deprecated public java.io.File getCertificatePath()
Deprecated.
-
getPrivateKeyPath
@Deprecated public java.io.File getPrivateKeyPath()
Deprecated.
-
getTrustCertificate
public java.nio.file.Path getTrustCertificate()
-
getCertificate
public java.nio.file.Path getCertificate()
-
getPrivateKey
public java.nio.file.Path getPrivateKey()
-
-