public class SslConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an app's SSL configuration.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificate
The contents of the certificate's domain.crt file.
|
private java.lang.String |
chain
Optional.
|
private java.lang.String |
privateKey
The private key; the contents of the certificate's domain.kex file.
|
Constructor and Description |
---|
SslConfiguration() |
Modifier and Type | Method and Description |
---|---|
SslConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificate()
The contents of the certificate's domain.crt file.
|
java.lang.String |
getChain()
Optional.
|
java.lang.String |
getPrivateKey()
The private key; the contents of the certificate's domain.kex file.
|
int |
hashCode() |
void |
setCertificate(java.lang.String certificate)
The contents of the certificate's domain.crt file.
|
void |
setChain(java.lang.String chain)
Optional.
|
void |
setPrivateKey(java.lang.String privateKey)
The private key; the contents of the certificate's domain.kex file.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SslConfiguration |
withCertificate(java.lang.String certificate)
The contents of the certificate's domain.crt file.
|
SslConfiguration |
withChain(java.lang.String chain)
Optional.
|
SslConfiguration |
withPrivateKey(java.lang.String privateKey)
The private key; the contents of the certificate's domain.kex file.
|
private java.lang.String certificate
The contents of the certificate's domain.crt file.
private java.lang.String privateKey
The private key; the contents of the certificate's domain.kex file.
private java.lang.String chain
Optional. Can be used to specify an intermediate certificate authority key or client authentication.
public void setCertificate(java.lang.String certificate)
The contents of the certificate's domain.crt file.
certificate
- The contents of the certificate's domain.crt file.public java.lang.String getCertificate()
The contents of the certificate's domain.crt file.
public SslConfiguration withCertificate(java.lang.String certificate)
The contents of the certificate's domain.crt file.
certificate
- The contents of the certificate's domain.crt file.public void setPrivateKey(java.lang.String privateKey)
The private key; the contents of the certificate's domain.kex file.
privateKey
- The private key; the contents of the certificate's domain.kex
file.public java.lang.String getPrivateKey()
The private key; the contents of the certificate's domain.kex file.
public SslConfiguration withPrivateKey(java.lang.String privateKey)
The private key; the contents of the certificate's domain.kex file.
privateKey
- The private key; the contents of the certificate's domain.kex
file.public void setChain(java.lang.String chain)
Optional. Can be used to specify an intermediate certificate authority key or client authentication.
chain
- Optional. Can be used to specify an intermediate certificate
authority key or client authentication.public java.lang.String getChain()
Optional. Can be used to specify an intermediate certificate authority key or client authentication.
public SslConfiguration withChain(java.lang.String chain)
Optional. Can be used to specify an intermediate certificate authority key or client authentication.
chain
- Optional. Can be used to specify an intermediate certificate
authority key or client authentication.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SslConfiguration clone()
clone
in class java.lang.Object