public interface TlsCsr extends Service, TlsCsrTypes
TlsCsr
interface provides methods to generate certificate signing
request. This interface was added in vSphere API 6.7.2.TlsCsrTypes.Info, TlsCsrTypes.Spec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
TlsCsrTypes.Info |
create(TlsCsrTypes.Spec spec)
Generates a CSR with the given Spec.
|
void |
create(TlsCsrTypes.Spec spec,
AsyncCallback<TlsCsrTypes.Info> asyncCallback)
Generates a CSR with the given Spec.
|
void |
create(TlsCsrTypes.Spec spec,
AsyncCallback<TlsCsrTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Generates a CSR with the given Spec.
|
TlsCsrTypes.Info |
create(TlsCsrTypes.Spec spec,
InvocationConfig invocationConfig)
Generates a CSR with the given Spec.
|
TlsCsrTypes.Info create(TlsCsrTypes.Spec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- The information needed to create a CSR.Error
- If CSR could not be created for given spec for a generic error.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Manage
and CertificateManagement.Administer
. TlsCsrTypes.Info create(TlsCsrTypes.Spec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- The information needed to create a CSR.invocationConfig
- Configuration for the method invocation.Error
- If CSR could not be created for given spec for a generic error.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Manage
and CertificateManagement.Administer
. void create(TlsCsrTypes.Spec spec, AsyncCallback<TlsCsrTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
A Certificate Signing Request.
Operation Errors:
Error
- If CSR could not be created for given spec for a generic error.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. spec
- The information needed to create a CSR.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(TlsCsrTypes.Spec spec, AsyncCallback<TlsCsrTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
A Certificate Signing Request.
Operation Errors:
Error
- If CSR could not be created for given spec for a generic error.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. spec
- The information needed to create a CSR.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.