public class SslConfiguration extends Object implements Serializable
Describes an app's SSL configuration.
Constructor and Description |
---|
SslConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCertificate()
The contents of the certificate's domain.crt file.
|
String |
getChain()
Optional.
|
String |
getPrivateKey()
The private key; the contents of the certificate's domain.kex file.
|
int |
hashCode() |
void |
setCertificate(String certificate)
The contents of the certificate's domain.crt file.
|
void |
setChain(String chain)
Optional.
|
void |
setPrivateKey(String privateKey)
The private key; the contents of the certificate's domain.kex file.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SslConfiguration |
withCertificate(String certificate)
The contents of the certificate's domain.crt file.
|
SslConfiguration |
withChain(String chain)
Optional.
|
SslConfiguration |
withPrivateKey(String privateKey)
The private key; the contents of the certificate's domain.kex file.
|
public String getCertificate()
public void setCertificate(String certificate)
certificate
- The contents of the certificate's domain.crt file.public SslConfiguration withCertificate(String certificate)
Returns a reference to this object so that method calls can be chained together.
certificate
- The contents of the certificate's domain.crt file.public String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey
- The private key; the contents of the certificate's domain.kex file.public SslConfiguration withPrivateKey(String privateKey)
Returns a reference to this object so that method calls can be chained together.
privateKey
- The private key; the contents of the certificate's domain.kex file.public String getChain()
public void setChain(String chain)
chain
- Optional. Can be used to specify an intermediate certificate authority
key or client authentication.public SslConfiguration withChain(String chain)
Returns a reference to this object so that method calls can be chained together.
chain
- Optional. Can be used to specify an intermediate certificate authority
key or client authentication.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.