public class SslConfiguration extends Object implements Serializable, Cloneable
Describes an app's SSL configuration.
Constructor and Description |
---|
SslConfiguration() |
Modifier and Type | Method and Description |
---|---|
SslConfiguration |
clone() |
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 void setCertificate(String certificate)
The contents of the certificate's domain.crt file.
certificate
- The contents of the certificate's domain.crt file.public String getCertificate()
The contents of the certificate's domain.crt file.
public SslConfiguration withCertificate(String certificate)
The contents of the certificate's domain.crt file.
certificate
- The contents of the certificate's domain.crt file.public void setPrivateKey(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 String getPrivateKey()
The private key; the contents of the certificate's domain.kex file.
public SslConfiguration withPrivateKey(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(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 String getChain()
Optional. Can be used to specify an intermediate certificate authority key or client authentication.
public SslConfiguration withChain(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 String toString()
toString
in class Object
Object.toString()
public SslConfiguration clone()
Copyright © 2015. All rights reserved.