public class TlsCsrStub extends com.vmware.vapi.internal.bindings.Stub implements TlsCsr
TlsCsr
API service.
WARNING: Internal class, subject to change in future versions.
TlsCsrTypes.Info, TlsCsrTypes.Spec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TlsCsrStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TlsCsrStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public TlsCsrStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TlsCsrStub(ApiProvider apiProvider, StubConfigurationBase config)
public TlsCsrTypes.Info create(TlsCsrTypes.Spec spec)
TlsCsr
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TlsCsrTypes.Info create(TlsCsrTypes.Spec spec, InvocationConfig invocationConfig)
TlsCsr
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(TlsCsrTypes.Spec spec, AsyncCallback<TlsCsrTypes.Info> asyncCallback)
TlsCsr
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
. public void create(TlsCsrTypes.Spec spec, AsyncCallback<TlsCsrTypes.Info> asyncCallback, InvocationConfig invocationConfig)
TlsCsr
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
.