public class Tls
extends Base
The schema that defines the TLS resource is defined below.
<xs:element name="HttpsInstall">
<xs:complexType>
<xs:sequence>
<xs:element name="Certificate" type="xs:string"/>
<xs:element name="Key" type="xs:string"/>
<xs:element name="PassPhrase" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="HttpsStatus">
<xs:complexType>
<xs:sequence>
<xs:element name="Enabled" type="xs:boolean"/>
<xs:element name="DefaultsInUse" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
Tls() |
| Modifier and Type | Method and Description |
|---|---|
void |
disable(javax.servlet.http.HttpServletRequest request)
POST /rest/Tls/disable
|
void |
enable(javax.servlet.http.HttpServletRequest request)
POST /rest/Tls/enable
|
com.quantum.dxi.dao.types.HttpsStatus |
get(javax.servlet.http.HttpServletRequest request)
GET /rest/Tls
|
HttpsInstall |
install(javax.servlet.http.HttpServletRequest request,
HttpsInstall httpsInstall,
java.lang.String errorType)
PUT /rest/Tls/install
|
void |
revert(javax.servlet.http.HttpServletRequest request)
POST /rest/Tls/revert
|
public void enable(@Context
javax.servlet.http.HttpServletRequest request)
Enable SSL/TLS for HTTPS on the system.
public void disable(@Context
javax.servlet.http.HttpServletRequest request)
Disable SSL/TLS for HTTPS on the system.
public HttpsInstall install(@Context
javax.servlet.http.HttpServletRequest request,
HttpsInstall httpsInstall,
java.lang.String errorType)
Installs the server certificate, private key, and activation pass phrase. The certificate and key files must have been previously uploaded. See FileUpload.
public void revert(@Context
javax.servlet.http.HttpServletRequest request)
Reverts SSL/TLS for HTTPS on the system to factory defaults.
public com.quantum.dxi.dao.types.HttpsStatus get(@Context
javax.servlet.http.HttpServletRequest request)
Get the configuration state of SSL/TLS for HTTPS on the system.
Response Entity type: <xs:element name="HttpsStatus">
Copyright © 2011-2023 Quantum Corporation. All Rights Reserved.