public class TrustedCertificatesStub extends com.vmware.vapi.internal.bindings.Stub implements TrustedCertificates
TrustedCertificates
API service.
WARNING: Internal class, subject to change in future versions.
TrustedCertificatesTypes.CreateSpec, TrustedCertificatesTypes.Info, TrustedCertificatesTypes.ListResult, TrustedCertificatesTypes.SummaryapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
TrustedCertificatesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TrustedCertificatesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
create(TrustedCertificatesTypes.CreateSpec spec)
Adds a certificate to content library trust store.
|
void |
create(TrustedCertificatesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Adds a certificate to content library trust store.
|
void |
create(TrustedCertificatesTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Adds a certificate to content library trust store.
|
java.lang.String |
create(TrustedCertificatesTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Adds a certificate to content library trust store.
|
void |
delete(java.lang.String certificate)
Deletes the trusted certificate from content library's trust store for a given
identifier.
|
void |
delete(java.lang.String certificate,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes the trusted certificate from content library's trust store for a given
identifier.
|
void |
delete(java.lang.String certificate,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes the trusted certificate from content library's trust store for a given
identifier.
|
void |
delete(java.lang.String certificate,
InvocationConfig invocationConfig)
Deletes the trusted certificate from content library's trust store for a given
identifier.
|
TrustedCertificatesTypes.Info |
get(java.lang.String certificate)
Retrieves a trusted certificate for a given certificate id.
|
void |
get(java.lang.String certificate,
AsyncCallback<TrustedCertificatesTypes.Info> asyncCallback)
Retrieves a trusted certificate for a given certificate id.
|
void |
get(java.lang.String certificate,
AsyncCallback<TrustedCertificatesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves a trusted certificate for a given certificate id.
|
TrustedCertificatesTypes.Info |
get(java.lang.String certificate,
InvocationConfig invocationConfig)
Retrieves a trusted certificate for a given certificate id.
|
TrustedCertificatesTypes.ListResult |
list()
Returns
ListResult class. |
void |
list(AsyncCallback<TrustedCertificatesTypes.ListResult> asyncCallback)
Returns
ListResult class. |
void |
list(AsyncCallback<TrustedCertificatesTypes.ListResult> asyncCallback,
InvocationConfig invocationConfig)
Returns
ListResult class. |
TrustedCertificatesTypes.ListResult |
list(InvocationConfig invocationConfig)
Returns
ListResult class. |
public TrustedCertificatesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TrustedCertificatesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create(TrustedCertificatesTypes.CreateSpec spec)
TrustedCertificatesThis API has to be invoked separately for each certificate block - (BEGIN_CERTIFICATE ... END_CERTIFICATE)
. This method was added in vSphere API 7.0.3.0.Synchronous method overload. Result of the invocation will be reported as a method return value.
create in interface TrustedCertificatesspec - Specification for the certificate to be added to content library trust store.com.vmware.content.TrustedCertificate.public java.lang.String create(TrustedCertificatesTypes.CreateSpec spec, InvocationConfig invocationConfig)
TrustedCertificatesThis API has to be invoked separately for each certificate block - (BEGIN_CERTIFICATE ... END_CERTIFICATE)
. This method was added in vSphere API 7.0.3.0.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 in interface TrustedCertificatesspec - Specification for the certificate to be added to content library trust store.invocationConfig - Configuration for the method invocation.com.vmware.content.TrustedCertificate.public void create(TrustedCertificatesTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
TrustedCertificatesThis API has to be invoked separately for each certificate block - (BEGIN_CERTIFICATE ... END_CERTIFICATE)
. This method was added in vSphere API 7.0.3.0.Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
ID of the certificates added. The certificate ID will be unique for each
certificate. If the certificate already exists, existing ID is returned.
The return value will be an identifier for the resource type: com.vmware.content.TrustedCertificate.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
ContentLibrary.AddCertToTrustStore. create in interface TrustedCertificatesspec - Specification for the certificate to be added to content library trust store.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(TrustedCertificatesTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
TrustedCertificatesThis API has to be invoked separately for each certificate block - (BEGIN_CERTIFICATE ... END_CERTIFICATE)
. This method was added in vSphere API 7.0.3.0.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:
ID of the certificates added. The certificate ID will be unique for each
certificate. If the certificate already exists, existing ID is returned.
The return value will be an identifier for the resource type: com.vmware.content.TrustedCertificate.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
ContentLibrary.AddCertToTrustStore. create in interface TrustedCertificatesspec - Specification for the certificate to be added to content library trust store.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public TrustedCertificatesTypes.Info get(java.lang.String certificate)
TrustedCertificatesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.TrustedCertificatesTypes.Info instance that
corresponds to the certificate.public TrustedCertificatesTypes.Info get(java.lang.String certificate, InvocationConfig invocationConfig)
TrustedCertificatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.invocationConfig - Configuration for the method invocation.TrustedCertificatesTypes.Info instance that
corresponds to the certificate.public void get(java.lang.String certificate,
AsyncCallback<TrustedCertificatesTypes.Info> asyncCallback)
TrustedCertificatesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
TrustedCertificatesTypes.Info instance that
corresponds to the certificate.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
NotFound - if a trusted certificate does not exist for given id.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.TrustedCertificate referenced by the
parameter certificate requires System.Read. get in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String certificate,
AsyncCallback<TrustedCertificatesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
TrustedCertificatesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
TrustedCertificatesTypes.Info instance that
corresponds to the certificate.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
NotFound - if a trusted certificate does not exist for given id.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.TrustedCertificate referenced by the
parameter certificate requires System.Read. get in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public TrustedCertificatesTypes.ListResult list()
TrustedCertificatesListResult class. All content library's trusted certificates.
This method was added in vSphere API 7.0.3.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list in interface TrustedCertificatesListResult containing trusted certificates.public TrustedCertificatesTypes.ListResult list(InvocationConfig invocationConfig)
TrustedCertificatesListResult class. All content library's trusted certificates.
This method was added in vSphere API 7.0.3.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface TrustedCertificatesinvocationConfig - Configuration for the method invocation.ListResult containing trusted certificates.public void list(AsyncCallback<TrustedCertificatesTypes.ListResult> asyncCallback)
TrustedCertificatesListResult class. All content library's trusted certificates.
This method was added in vSphere API 7.0.3.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
ListResult containing trusted certificates.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
System.Read. list in interface TrustedCertificatesasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<TrustedCertificatesTypes.ListResult> asyncCallback, InvocationConfig invocationConfig)
TrustedCertificatesListResult class. All content library's trusted certificates.
This method was added in vSphere API 7.0.3.0.
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:
ListResult containing trusted certificates.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
System.Read. list in interface TrustedCertificatesasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String certificate)
TrustedCertificatesSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.public void delete(java.lang.String certificate,
InvocationConfig invocationConfig)
TrustedCertificatesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String certificate,
AsyncCallback<java.lang.Void> asyncCallback)
TrustedCertificatesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if the trusted certificate specified by certificate could not be found.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.TrustedCertificate referenced by the
parameter certificate requires ContentLibrary.DeleteCertFromTrustStore. delete in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String certificate,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
TrustedCertificatesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if the trusted certificate specified by certificate could not be found.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.TrustedCertificate referenced by the
parameter certificate requires ContentLibrary.DeleteCertFromTrustStore. delete in interface TrustedCertificatescertificate - id of the trusted certificate.
The parameter must be an identifier for the resource type: com.vmware.content.TrustedCertificate.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.