github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/client_ssl_profile_binding.go (about)

     1  /*
     2   * NSX API
     3   *
     4   * VMware NSX REST API
     5   *
     6   * API version: 1.0.0
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package loadbalancer
    11  
    12  type ClientSslProfileBinding struct {
    13  
    14  	// authentication depth is used to set the verification depth in the client certificates chain.
    15  	CertificateChainDepth int64 `json:"certificate_chain_depth,omitempty"`
    16  
    17  	// client authentication mode
    18  	ClientAuth string `json:"client_auth,omitempty"`
    19  
    20  	// 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.
    21  	ClientAuthCaIds []string `json:"client_auth_ca_ids,omitempty"`
    22  
    23  	// A Certificate Revocation List (CRL) can be specified in the client-side SSL profile binding to disallow compromised client certificates.
    24  	ClientAuthCrlIds []string `json:"client_auth_crl_ids,omitempty"`
    25  
    26  	// 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.
    27  	DefaultCertificateId string `json:"default_certificate_id"`
    28  
    29  	// Client-side SSL profile binding allows multiple certificates, for different hostnames, to be bound to the same virtual server.
    30  	SniCertificateIds []string `json:"sni_certificate_ids,omitempty"`
    31  
    32  	// Client SSL profile defines reusable, application-independent client side SSL properties.
    33  	SslProfileId string `json:"ssl_profile_id,omitempty"`
    34  }