public final class CertificateParams
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
CertificateParams class contains information about the public key
certificate used to sign the OVF package. This class will only be returned if
the OVF package is signed.
See LibraryItem.deploy(java.lang.String, java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget, com.vmware.vcenter.ovf.LibraryItemTypes.ResourcePoolDeploymentSpec) and LibraryItem.filter(java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget).
| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateParams.Builder
Builder class for
CertificateParams. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
| Modifier | Constructor and Description |
|---|---|
|
CertificateParams()
Default constructor.
|
protected |
CertificateParams(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static CertificateParams |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static CertificateParams |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getIsSelfSigned()
Is the certificate self-signed.
|
java.lang.String |
getIssuer()
Certificate issuer.
|
java.lang.Boolean |
getIsValid()
Is the certificate chain validated.
|
java.lang.String |
getSubject()
Certificate subject.
|
java.lang.String |
getType()
Unique identifier describing the type of the OVF parameters.
|
java.util.List<WarningInfo> |
getWarnings()
The list of warnings raised for the OVF certificate used in this OVF package
deployment.
|
java.lang.String |
getX509()
The X509 representation of the certificate.
|
int |
hashCode() |
void |
setIsSelfSigned(java.lang.Boolean isSelfSigned)
Is the certificate self-signed.
|
void |
setIssuer(java.lang.String issuer)
Certificate issuer.
|
void |
setIsValid(java.lang.Boolean isValid)
Is the certificate chain validated.
|
void |
setSubject(java.lang.String subject)
Certificate subject.
|
void |
setType(java.lang.String type)
Unique identifier describing the type of the OVF parameters.
|
void |
setWarnings(java.util.List<WarningInfo> warnings)
The list of warnings raised for the OVF certificate used in this OVF package
deployment.
|
void |
setX509(java.lang.String x509)
The X509 representation of the certificate.
|
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public CertificateParams()
protected CertificateParams(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getIssuer()
public void setIssuer(java.lang.String issuer)
issuer - New value for the property.public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject - New value for the property.public java.lang.Boolean getIsValid()
public void setIsValid(java.lang.Boolean isValid)
isValid - New value for the property.public java.lang.Boolean getIsSelfSigned()
public void setIsSelfSigned(java.lang.Boolean isSelfSigned)
isSelfSigned - New value for the property.public java.lang.String getX509()
public void setX509(java.lang.String x509)
x509 - New value for the property.public java.util.List<WarningInfo> getWarnings()
LibraryItem.filter(java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget). When the property is set, the WarningInfo.getIgnored() property can be updated before
the OVF parameter is passed to LibraryItem.deploy(java.lang.String, java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget, com.vmware.vcenter.ovf.LibraryItemTypes.ResourcePoolDeploymentSpec)
to deploy the OVF package.public void setWarnings(java.util.List<WarningInfo> warnings)
LibraryItem.filter(java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget). When the property is set, the WarningInfo.getIgnored() property can be updated before
the OVF parameter is passed to LibraryItem.deploy(java.lang.String, java.lang.String, com.vmware.vcenter.ovf.LibraryItemTypes.DeploymentTarget, com.vmware.vcenter.ovf.LibraryItemTypes.ResourcePoolDeploymentSpec)
to deploy the OVF package.warnings - New value for the property.public java.lang.String getType()
public void setType(java.lang.String type)
type - New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface com.vmware.vapi.bindings.StaticStructuretoString in class java.lang.Objectpublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType instance representing the static bindings
type for this Structure.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().public static CertificateParams _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue - the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructTypepublic static CertificateParams _newInstance2(com.vmware.vapi.data.StructValue structValue)