public static final class ClientSslProfileBinding.Builder
extends java.lang.Object
ClientSslProfileBinding
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClientSslProfileBinding . |
Modifier and Type | Method and Description |
---|---|
ClientSslProfileBinding |
build() |
ClientSslProfileBinding.Builder |
setCertificateChainDepth(java.lang.Long certificateChainDepth)
authentication depth is used to set the verification depth in the client
certificates chain.
|
ClientSslProfileBinding.Builder |
setClientAuth(java.lang.String clientAuth)
Possible values are:
ClientSslProfileBinding.CLIENT_AUTH_REQUIRED
ClientSslProfileBinding.CLIENT_AUTH_IGNORE
client authentication mode |
ClientSslProfileBinding.Builder |
setClientAuthCaIds(java.util.List<java.lang.String> clientAuthCaIds)
If client auth type is REQUIRED, client certificate must be signed by one of the
trusted Certificate Authorities (CAs), also referred to as root CAs, whose self
signed certificates are specified.
|
ClientSslProfileBinding.Builder |
setClientAuthCrlIds(java.util.List<java.lang.String> clientAuthCrlIds)
A Certificate Revocation List (CRL) can be specified in the client-side SSL
profile binding to disallow compromised client certificates.
|
ClientSslProfileBinding.Builder |
setDefaultCertificateId(java.lang.String defaultCertificateId)
A default certificate should be specified which will be used if the server does
not host multiple hostnames on the same IP address or if the client does not
support SNI extension.
|
ClientSslProfileBinding.Builder |
setSniCertificateIds(java.util.List<java.lang.String> sniCertificateIds)
Client-side SSL profile binding allows multiple certificates, for different
hostnames, to be bound to the same virtual server.
|
ClientSslProfileBinding.Builder |
setSslProfileId(java.lang.String sslProfileId)
Client SSL profile defines reusable, application-independent client side SSL
properties.
|
public Builder()
ClientSslProfileBinding
.public ClientSslProfileBinding.Builder setCertificateChainDepth(java.lang.Long certificateChainDepth)
certificateChainDepth
- New value for the property.public ClientSslProfileBinding.Builder setClientAuth(java.lang.String clientAuth)
clientAuth
- New value for the property.public ClientSslProfileBinding.Builder setClientAuthCaIds(java.util.List<java.lang.String> clientAuthCaIds)
clientAuthCaIds
- New value for the property.public ClientSslProfileBinding.Builder setClientAuthCrlIds(java.util.List<java.lang.String> clientAuthCrlIds)
clientAuthCrlIds
- New value for the property.public ClientSslProfileBinding.Builder setDefaultCertificateId(java.lang.String defaultCertificateId)
defaultCertificateId
- New value for the property.public ClientSslProfileBinding.Builder setSniCertificateIds(java.util.List<java.lang.String> sniCertificateIds)
sniCertificateIds
- New value for the property.public ClientSslProfileBinding.Builder setSslProfileId(java.lang.String sslProfileId)
sslProfileId
- New value for the property.public ClientSslProfileBinding build()