Class CsrsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.CsrsStub
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.CsrsTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description CsrsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
CsrsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TlsCsr
create(java.lang.String csrId, TlsCsr tlsCsr)
Creates a new certificate signing request (CSR).void
create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Creates a new certificate signing request (CSR).void
create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR).TlsCsr
create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new certificate signing request (CSR).void
delete(java.lang.String csrId)
Removes a specified CSR.void
delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes a specified CSR.void
delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR.void
delete(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes a specified CSR.TlsCsr
get(java.lang.String csrId)
Returns information about the specified CSR.void
get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Returns information about the specified CSR.void
get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.TlsCsr
get(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified CSR.TlsCertificate
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData)
Imports a certificate authority (CA)-signed certificate for a CSR.void
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Imports a certificate authority (CA)-signed certificate for a CSR.void
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.TlsCertificate
importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Imports a certificate authority (CA)-signed certificate for a CSR.TlsCsrListResult
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Returns information about all of the CSRs that have been created.void
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback)
Returns information about all of the CSRs that have been created.void
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.TlsCsrListResult
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all of the CSRs that have been created.TlsCertificate
selfsign(java.lang.String csrId, long daysValid)
Self-signs the previously generated CSR.void
selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Self-signs the previously generated CSR.void
selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.TlsCertificate
selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Self-signs the previously generated CSR.TlsCertificate
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid)
Creates a new self-signed certificate.void
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Creates a new self-signed certificate.void
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate.TlsCertificate
selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new self-signed certificate.
-
-
-
Constructor Detail
-
CsrsStub
public CsrsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
CsrsStub
public CsrsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public TlsCsr create(java.lang.String csrId, TlsCsr tlsCsr)
Description copied from interface:Csrs
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
create
public TlsCsr create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
create
public void create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Description copied from interface:Csrs
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
create
public void create(java.lang.String csrId, TlsCsr tlsCsr, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Creates a new certificate signing request (CSR). A CSR is encrypted text that contains information about your organization (organization name, country, and so on) and your Web server's public key, which is a public certificate the is generated on the server that can be used to forward this request to a certificate authority (CA). A private key is also usually created at the same time as the CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
delete
public void delete(java.lang.String csrId)
Description copied from interface:Csrs
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
delete
public void delete(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
delete
public void delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Csrs
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
delete
public void delete(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Removes a specified CSR. If a CSR is not used for verification, you can delete it. Note that the CSR import and upload POST actions automatically delete the associated CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public TlsCsr get(java.lang.String csrId)
Description copied from interface:Csrs
Returns information about the specified CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public TlsCsr get(java.lang.String csrId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Returns information about the specified CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
get
public void get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback)
Description copied from interface:Csrs
Returns information about the specified CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public void get(java.lang.String csrId, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsr> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Returns information about the specified CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
importcsr
public TlsCertificate importcsr(java.lang.String csrId, TlsTrustData tlsTrustData)
Description copied from interface:Csrs
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
importcsr
public TlsCertificate importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
importcsr
public void importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Description copied from interface:Csrs
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
importcsr
public void importcsr(java.lang.String csrId, TlsTrustData tlsTrustData, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Imports a certificate authority (CA)-signed certificate for a CSR. This action links the certificate to the private key created by the CSR. The pem_encoded string in the request body is the signed certificate provided by your CA in response to the CSR that you provide to them. The import POST action automatically deletes the associated CSR.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
list
public TlsCsrListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Description copied from interface:Csrs
Returns information about all of the CSRs that have been created.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceCsrs
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)- Returns:
- com.vmware.nsx_policy.model.TlsCsrListResult
-
list
public TlsCsrListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Returns information about all of the CSRs that have been created.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
list
in interfaceCsrs
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCsrListResult
-
list
public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback)
Description copied from interface:Csrs
Returns information about all of the CSRs that have been created.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceCsrs
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsCsrListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Returns information about all of the CSRs that have been created.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCsrListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceCsrs
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
selfsign
public TlsCertificate selfsign(java.lang.String csrId, long daysValid)
Description copied from interface:Csrs
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
selfsign
public TlsCertificate selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
selfsign
in interfaceCsrs
- Parameters:
csrId
- CSR this certificate is associated with (required)daysValid
- Number of days the certificate will be valid, default 825 days (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsCertificate
-
selfsign
public void selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Description copied from interface:Csrs
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
selfsign
public void selfsign(java.lang.String csrId, long daysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Self-signs the previously generated CSR. This action is similar to the import certificate action, but instead of using a public certificate signed by a CA, the self_sign POST action uses a certificate that is signed with NSX's own private key. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
selfsign
in interfaceCsrs
- Parameters:
csrId
- CSR this certificate is associated with (required)daysValid
- Number of days the certificate will be valid, default 825 days (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
selfsign0
public TlsCertificate selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid)
Description copied from interface:Csrs
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
selfsign0
public TlsCertificate selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
selfsign0
public void selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback)
Description copied from interface:Csrs
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
selfsign0
public void selfsign0(TlsCsrWithDaysValid tlsCsrWithDaysValid, com.vmware.vapi.bindings.client.AsyncCallback<TlsCertificate> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Csrs
Creates a new self-signed certificate. A private key is also created at the same time. This is convenience call that will generate a CSR and then self-sign it. For validity of non-CA certificates, if a value greater than 825 days is provided, it will be set to 825 days. No limit is set for CA certificates.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.TlsCertificateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
-