public interface SigningCertificate extends Service, SigningCertificateTypes
SigningCertificate
interface provides methods to view and manage
vCenter signing certificates which are used to sign and verify tokens issued by
vCenter token service. Versioning is the same as for the com.vmware.vcenter
package. 1.23 - vSphere 7.0 U3. This interface was added in vSphere API 7.0.3.0.SigningCertificateTypes.Info, SigningCertificateTypes.SetSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
SigningCertificateTypes.Info |
get()
Retrieve the signing certificate chains for validating vCenter-issued tokens.
|
void |
get(AsyncCallback<SigningCertificateTypes.Info> asyncCallback)
Retrieve the signing certificate chains for validating vCenter-issued tokens.
|
void |
get(AsyncCallback<SigningCertificateTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieve the signing certificate chains for validating vCenter-issued tokens.
|
SigningCertificateTypes.Info |
get(InvocationConfig invocationConfig)
Retrieve the signing certificate chains for validating vCenter-issued tokens.
|
X509CertChain |
refresh(java.lang.Boolean force)
Refresh the vCenter signing certificate chain.
|
void |
refresh(java.lang.Boolean force,
AsyncCallback<X509CertChain> asyncCallback)
Refresh the vCenter signing certificate chain.
|
void |
refresh(java.lang.Boolean force,
AsyncCallback<X509CertChain> asyncCallback,
InvocationConfig invocationConfig)
Refresh the vCenter signing certificate chain.
|
X509CertChain |
refresh(java.lang.Boolean force,
InvocationConfig invocationConfig)
Refresh the vCenter signing certificate chain.
|
void |
set(SigningCertificateTypes.SetSpec spec)
Set the active signing certificate for vCenter.
|
void |
set(SigningCertificateTypes.SetSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Set the active signing certificate for vCenter.
|
void |
set(SigningCertificateTypes.SetSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set the active signing certificate for vCenter.
|
void |
set(SigningCertificateTypes.SetSpec spec,
InvocationConfig invocationConfig)
Set the active signing certificate for vCenter.
|
SigningCertificateTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. SigningCertificateTypes.Info get(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.
invocationConfig
- Configuration for the method invocation.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. void get(AsyncCallback<SigningCertificateTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The active certificate chain and signing certificate chains for validating
tokens.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<SigningCertificateTypes.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:
The active certificate chain and signing certificate chains for validating
tokens.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void set(SigningCertificateTypes.SetSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Signing certificate chain and private key which the vCenter token service will
actively use to sign tokens.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void set(SigningCertificateTypes.SetSpec 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
- Signing certificate chain and private key which the vCenter token service will
actively use to sign tokens.invocationConfig
- Configuration for the method invocation.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void set(SigningCertificateTypes.SetSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- Signing certificate chain and private key which the vCenter token service will
actively use to sign tokens.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(SigningCertificateTypes.SetSpec spec, AsyncCallback<java.lang.Void> 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.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. spec
- Signing certificate chain and private key which the vCenter token service will
actively use to sign tokens.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.X509CertChain refresh(java.lang.Boolean force)
Synchronous method overload. Result of the invocation will be reported as a method return value.
force
- Will force refresh in environments that would otherwise prevent refresh from
occurring, such as a mixed-version environment. Force refresh may leave systems
in the local vCenter domain in a non-functional state until they are restarted.
If null
, then refresh will not be forced.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. X509CertChain refresh(java.lang.Boolean force, 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.
force
- Will force refresh in environments that would otherwise prevent refresh from
occurring, such as a mixed-version environment. Force refresh may leave systems
in the local vCenter domain in a non-functional state until they are restarted.
If null
, then refresh will not be forced.invocationConfig
- Configuration for the method invocation.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Administer
. void refresh(java.lang.Boolean force, AsyncCallback<X509CertChain> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The signing certificate chain created during the refresh.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. force
- Will force refresh in environments that would otherwise prevent refresh from
occurring, such as a mixed-version environment. Force refresh may leave systems
in the local vCenter domain in a non-functional state until they are restarted.
If null
, then refresh will not be forced.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void refresh(java.lang.Boolean force, AsyncCallback<X509CertChain> 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:
The signing certificate chain created during the refresh.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Administer
. force
- Will force refresh in environments that would otherwise prevent refresh from
occurring, such as a mixed-version environment. Force refresh may leave systems
in the local vCenter domain in a non-functional state until they are restarted.
If null
, then refresh will not be forced.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.