Package com.vmware.nsx_policy.model
Class X509Certificate
- java.lang.Object
-
- com.vmware.nsx_policy.model.X509Certificate
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class X509Certificate extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
X509Certificate.Builder
Builder class forX509Certificate
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
static java.lang.String
ECDSA_EC_FIELD_F2M
static java.lang.String
ECDSA_EC_FIELD_FP
-
Constructor Summary
Constructors Modifier Constructor Description X509Certificate()
Default constructor.protected
X509Certificate(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_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 X509Certificate
_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 X509Certificate
_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.String
getDsaPublicKeyg()
One of the DSA cryptogaphic algorithm's strength parameters, base.java.lang.String
getDsaPublicKeyp()
One of the DSA cryptogaphic algorithm's strength parameters, prime.java.lang.String
getDsaPublicKeyq()
One of the DSA cryptogaphic algorithm's strength parameters, sub-prime.java.lang.String
getDsaPublicKeyy()
One of the DSA cryptogaphic algorithm's strength parameters.java.lang.String
getEcdsaCurveName()
The Curve name for the ECDSA certificate.java.lang.String
getEcdsaEcField()
Possible values are:ECDSA_EC_FIELD_F2M
ECDSA_EC_FIELD_FP
Represents an elliptic curve (EC) finite field in ECDSA.java.util.List<java.lang.Long>
getEcdsaEcFieldF2mks()
The order of the middle term(s) of the reduction polynomial in elliptic curve (EC) | characteristic 2 finite field.| Contents of this array are copied to protect against subsequent modification in ECDSA.java.lang.Long
getEcdsaEcFieldF2mm()
The first coefficient of this elliptic curve in elliptic curve (EC) | characteristic 2 finite field for ECDSA.java.lang.String
getEcdsaEcFieldF2mrp()
The value whose i-th bit corresponds to the i-th coefficient of the reduction polynomial | in elliptic curve (EC) characteristic 2 finite field for ECDSA.java.lang.String
getEcdsaEcFieldF2pp()
The specified prime for the elliptic curve prime finite field in ECDSA.java.lang.String
getEcdsaPub()
The public key information in ECDSA.java.lang.String
getEcdsaPublicKeya()
The first coefficient of this elliptic curve in ECDSA.java.lang.String
getEcdsaPublicKeyb()
The second coefficient of this elliptic curve in ECDSA.java.lang.Long
getEcdsaPublicKeyCofactor()
The co-factor in ECDSA.java.lang.String
getEcdsaPublicKeyGeneratorx()
X co-ordinate of G (the generator which is also known as the base point) in ECDSA.java.lang.String
getEcdsaPublicKeyGeneratory()
Y co-ordinate of G (the generator which is also known as the base point) in ECDSA.java.lang.String
getEcdsaPublicKeyOrder()
The order of generator G in ECDSA.java.util.List<java.lang.String>
getEcdsaPublicKeySeed()
The bytes used during curve generation for later validation in ECDSA.| Contents of this array are copied to protect against subsequent modification.java.lang.Boolean
getIsCa()
True if this is a CA certificate.java.lang.String
getIssuer()
The certificate issuers complete distinguished name.java.lang.String
getIssuerCn()
The certificate issuer's common name.java.lang.Boolean
getIsValid()
True if this certificate is valid.java.lang.Long
getNotAfter()
The time in epoch milliseconds at which the certificate becomes invalid.java.lang.Long
getNotBefore()
The time in epoch milliseconds at which the certificate becomes valid.java.lang.String
getParsedPemEncoding()
This is the PEM encoding after parsing out any extraneous characters, ensuring any library will accept it.java.lang.String
getPublicKeyAlgo()
Cryptographic algorithm used by the public key for data encryption.java.lang.Long
getPublicKeyLength()
Size measured in bits of the public/private keys used in a cryptographic algorithm.java.lang.String
getRsaPublicKeyExponent()
An RSA public key is made up of the modulus and the public exponent.java.lang.String
getRsaPublicKeyModulus()
An RSA public key is made up of the modulus and the public exponent.java.lang.String
getSerialNumber()
Certificate's serial number.java.lang.String
getSha256Thumbprint()
The SHA256 thumbprint of the certificate, in hexadecimal notation.java.lang.String
getSignature()
The signature value(the raw signature bits) used for signing and validate the cert.java.lang.String
getSignatureAlgorithm()
The algorithm used by the Certificate Authority to sign the certificate.java.lang.String
getSubject()
The certificate owners complete distinguished name.java.lang.String
getSubjectCn()
The certificate owner's common name.java.lang.String
getVersion()
Certificate version (default v1).int
hashCode()
void
setDsaPublicKeyg(java.lang.String dsaPublicKeyg)
One of the DSA cryptogaphic algorithm's strength parameters, base.void
setDsaPublicKeyp(java.lang.String dsaPublicKeyp)
One of the DSA cryptogaphic algorithm's strength parameters, prime.void
setDsaPublicKeyq(java.lang.String dsaPublicKeyq)
One of the DSA cryptogaphic algorithm's strength parameters, sub-prime.void
setDsaPublicKeyy(java.lang.String dsaPublicKeyy)
One of the DSA cryptogaphic algorithm's strength parameters.void
setEcdsaCurveName(java.lang.String ecdsaCurveName)
The Curve name for the ECDSA certificate.void
setEcdsaEcField(java.lang.String ecdsaEcField)
Possible values are:ECDSA_EC_FIELD_F2M
ECDSA_EC_FIELD_FP
Represents an elliptic curve (EC) finite field in ECDSA.void
setEcdsaEcFieldF2mks(java.util.List<java.lang.Long> ecdsaEcFieldF2mks)
The order of the middle term(s) of the reduction polynomial in elliptic curve (EC) | characteristic 2 finite field.| Contents of this array are copied to protect against subsequent modification in ECDSA.void
setEcdsaEcFieldF2mm(java.lang.Long ecdsaEcFieldF2mm)
The first coefficient of this elliptic curve in elliptic curve (EC) | characteristic 2 finite field for ECDSA.void
setEcdsaEcFieldF2mrp(java.lang.String ecdsaEcFieldF2mrp)
The value whose i-th bit corresponds to the i-th coefficient of the reduction polynomial | in elliptic curve (EC) characteristic 2 finite field for ECDSA.void
setEcdsaEcFieldF2pp(java.lang.String ecdsaEcFieldF2pp)
The specified prime for the elliptic curve prime finite field in ECDSA.void
setEcdsaPub(java.lang.String ecdsaPub)
The public key information in ECDSA.void
setEcdsaPublicKeya(java.lang.String ecdsaPublicKeya)
The first coefficient of this elliptic curve in ECDSA.void
setEcdsaPublicKeyb(java.lang.String ecdsaPublicKeyb)
The second coefficient of this elliptic curve in ECDSA.void
setEcdsaPublicKeyCofactor(java.lang.Long ecdsaPublicKeyCofactor)
The co-factor in ECDSA.void
setEcdsaPublicKeyGeneratorx(java.lang.String ecdsaPublicKeyGeneratorx)
X co-ordinate of G (the generator which is also known as the base point) in ECDSA.void
setEcdsaPublicKeyGeneratory(java.lang.String ecdsaPublicKeyGeneratory)
Y co-ordinate of G (the generator which is also known as the base point) in ECDSA.void
setEcdsaPublicKeyOrder(java.lang.String ecdsaPublicKeyOrder)
The order of generator G in ECDSA.void
setEcdsaPublicKeySeed(java.util.List<java.lang.String> ecdsaPublicKeySeed)
The bytes used during curve generation for later validation in ECDSA.| Contents of this array are copied to protect against subsequent modification.void
setIsCa(java.lang.Boolean isCa)
True if this is a CA certificate.void
setIssuer(java.lang.String issuer)
The certificate issuers complete distinguished name.void
setIssuerCn(java.lang.String issuerCn)
The certificate issuer's common name.void
setIsValid(java.lang.Boolean isValid)
True if this certificate is valid.void
setNotAfter(java.lang.Long notAfter)
The time in epoch milliseconds at which the certificate becomes invalid.void
setNotBefore(java.lang.Long notBefore)
The time in epoch milliseconds at which the certificate becomes valid.void
setParsedPemEncoding(java.lang.String parsedPemEncoding)
This is the PEM encoding after parsing out any extraneous characters, ensuring any library will accept it.void
setPublicKeyAlgo(java.lang.String publicKeyAlgo)
Cryptographic algorithm used by the public key for data encryption.void
setPublicKeyLength(java.lang.Long publicKeyLength)
Size measured in bits of the public/private keys used in a cryptographic algorithm.void
setRsaPublicKeyExponent(java.lang.String rsaPublicKeyExponent)
An RSA public key is made up of the modulus and the public exponent.void
setRsaPublicKeyModulus(java.lang.String rsaPublicKeyModulus)
An RSA public key is made up of the modulus and the public exponent.void
setSerialNumber(java.lang.String serialNumber)
Certificate's serial number.void
setSha256Thumbprint(java.lang.String sha256Thumbprint)
The SHA256 thumbprint of the certificate, in hexadecimal notation.void
setSignature(java.lang.String signature)
The signature value(the raw signature bits) used for signing and validate the cert.void
setSignatureAlgorithm(java.lang.String signatureAlgorithm)
The algorithm used by the Certificate Authority to sign the certificate.void
setSubject(java.lang.String subject)
The certificate owners complete distinguished name.void
setSubjectCn(java.lang.String subjectCn)
The certificate owner's common name.void
setVersion(java.lang.String version)
Certificate version (default v1).java.lang.String
toString()
-
-
-
Field Detail
-
ECDSA_EC_FIELD_F2M
public static final java.lang.String ECDSA_EC_FIELD_F2M
- See Also:
- Constant Field Values
-
ECDSA_EC_FIELD_FP
public static final java.lang.String ECDSA_EC_FIELD_FP
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getDsaPublicKeyg
public java.lang.String getDsaPublicKeyg()
One of the DSA cryptogaphic algorithm's strength parameters, base. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setDsaPublicKeyg
public void setDsaPublicKeyg(java.lang.String dsaPublicKeyg)
One of the DSA cryptogaphic algorithm's strength parameters, base. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
dsaPublicKeyg
- New value for the property.
-
getDsaPublicKeyp
public java.lang.String getDsaPublicKeyp()
One of the DSA cryptogaphic algorithm's strength parameters, prime. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setDsaPublicKeyp
public void setDsaPublicKeyp(java.lang.String dsaPublicKeyp)
One of the DSA cryptogaphic algorithm's strength parameters, prime. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
dsaPublicKeyp
- New value for the property.
-
getDsaPublicKeyq
public java.lang.String getDsaPublicKeyq()
One of the DSA cryptogaphic algorithm's strength parameters, sub-prime. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setDsaPublicKeyq
public void setDsaPublicKeyq(java.lang.String dsaPublicKeyq)
One of the DSA cryptogaphic algorithm's strength parameters, sub-prime. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
dsaPublicKeyq
- New value for the property.
-
getDsaPublicKeyy
public java.lang.String getDsaPublicKeyy()
One of the DSA cryptogaphic algorithm's strength parameters. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setDsaPublicKeyy
public void setDsaPublicKeyy(java.lang.String dsaPublicKeyy)
One of the DSA cryptogaphic algorithm's strength parameters. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
dsaPublicKeyy
- New value for the property.
-
getEcdsaCurveName
public java.lang.String getEcdsaCurveName()
The Curve name for the ECDSA certificate. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaCurveName
public void setEcdsaCurveName(java.lang.String ecdsaCurveName)
The Curve name for the ECDSA certificate. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaCurveName
- New value for the property.
-
getEcdsaEcField
public java.lang.String getEcdsaEcField()
Possible values are: Represents an elliptic curve (EC) finite field in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaEcField
public void setEcdsaEcField(java.lang.String ecdsaEcField)
Possible values are: Represents an elliptic curve (EC) finite field in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaEcField
- New value for the property.
-
getEcdsaEcFieldF2mks
public java.util.List<java.lang.Long> getEcdsaEcFieldF2mks()
The order of the middle term(s) of the reduction polynomial in elliptic curve (EC) | characteristic 2 finite field.| Contents of this array are copied to protect against subsequent modification in ECDSA. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaEcFieldF2mks
public void setEcdsaEcFieldF2mks(java.util.List<java.lang.Long> ecdsaEcFieldF2mks)
The order of the middle term(s) of the reduction polynomial in elliptic curve (EC) | characteristic 2 finite field.| Contents of this array are copied to protect against subsequent modification in ECDSA. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaEcFieldF2mks
- New value for the property.
-
getEcdsaEcFieldF2mm
public java.lang.Long getEcdsaEcFieldF2mm()
The first coefficient of this elliptic curve in elliptic curve (EC) | characteristic 2 finite field for ECDSA. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaEcFieldF2mm
public void setEcdsaEcFieldF2mm(java.lang.Long ecdsaEcFieldF2mm)
The first coefficient of this elliptic curve in elliptic curve (EC) | characteristic 2 finite field for ECDSA. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaEcFieldF2mm
- New value for the property.
-
getEcdsaEcFieldF2mrp
public java.lang.String getEcdsaEcFieldF2mrp()
The value whose i-th bit corresponds to the i-th coefficient of the reduction polynomial | in elliptic curve (EC) characteristic 2 finite field for ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaEcFieldF2mrp
public void setEcdsaEcFieldF2mrp(java.lang.String ecdsaEcFieldF2mrp)
The value whose i-th bit corresponds to the i-th coefficient of the reduction polynomial | in elliptic curve (EC) characteristic 2 finite field for ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaEcFieldF2mrp
- New value for the property.
-
getEcdsaEcFieldF2pp
public java.lang.String getEcdsaEcFieldF2pp()
The specified prime for the elliptic curve prime finite field in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaEcFieldF2pp
public void setEcdsaEcFieldF2pp(java.lang.String ecdsaEcFieldF2pp)
The specified prime for the elliptic curve prime finite field in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaEcFieldF2pp
- New value for the property.
-
getEcdsaPub
public java.lang.String getEcdsaPub()
The public key information in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPub
public void setEcdsaPub(java.lang.String ecdsaPub)
The public key information in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPub
- New value for the property.
-
getEcdsaPublicKeya
public java.lang.String getEcdsaPublicKeya()
The first coefficient of this elliptic curve in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPublicKeya
public void setEcdsaPublicKeya(java.lang.String ecdsaPublicKeya)
The first coefficient of this elliptic curve in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPublicKeya
- New value for the property.
-
getEcdsaPublicKeyb
public java.lang.String getEcdsaPublicKeyb()
The second coefficient of this elliptic curve in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPublicKeyb
public void setEcdsaPublicKeyb(java.lang.String ecdsaPublicKeyb)
The second coefficient of this elliptic curve in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPublicKeyb
- New value for the property.
-
getEcdsaPublicKeyCofactor
public java.lang.Long getEcdsaPublicKeyCofactor()
The co-factor in ECDSA. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPublicKeyCofactor
public void setEcdsaPublicKeyCofactor(java.lang.Long ecdsaPublicKeyCofactor)
The co-factor in ECDSA. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPublicKeyCofactor
- New value for the property.
-
getEcdsaPublicKeyGeneratorx
public java.lang.String getEcdsaPublicKeyGeneratorx()
X co-ordinate of G (the generator which is also known as the base point) in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPublicKeyGeneratorx
public void setEcdsaPublicKeyGeneratorx(java.lang.String ecdsaPublicKeyGeneratorx)
X co-ordinate of G (the generator which is also known as the base point) in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPublicKeyGeneratorx
- New value for the property.
-
getEcdsaPublicKeyGeneratory
public java.lang.String getEcdsaPublicKeyGeneratory()
Y co-ordinate of G (the generator which is also known as the base point) in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPublicKeyGeneratory
public void setEcdsaPublicKeyGeneratory(java.lang.String ecdsaPublicKeyGeneratory)
Y co-ordinate of G (the generator which is also known as the base point) in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPublicKeyGeneratory
- New value for the property.
-
getEcdsaPublicKeyOrder
public java.lang.String getEcdsaPublicKeyOrder()
The order of generator G in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPublicKeyOrder
public void setEcdsaPublicKeyOrder(java.lang.String ecdsaPublicKeyOrder)
The order of generator G in ECDSA. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPublicKeyOrder
- New value for the property.
-
getEcdsaPublicKeySeed
public java.util.List<java.lang.String> getEcdsaPublicKeySeed()
The bytes used during curve generation for later validation in ECDSA.| Contents of this array are copied to protect against subsequent modification. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setEcdsaPublicKeySeed
public void setEcdsaPublicKeySeed(java.util.List<java.lang.String> ecdsaPublicKeySeed)
The bytes used during curve generation for later validation in ECDSA.| Contents of this array are copied to protect against subsequent modification. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ecdsaPublicKeySeed
- New value for the property.
-
getIsCa
public java.lang.Boolean getIsCa()
True if this is a CA certificate. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setIsCa
public void setIsCa(java.lang.Boolean isCa)
True if this is a CA certificate. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
isCa
- New value for the property.
-
getIsValid
public java.lang.Boolean getIsValid()
True if this certificate is valid. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setIsValid
public void setIsValid(java.lang.Boolean isValid)
True if this certificate is valid. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
isValid
- New value for the property.
-
getIssuer
public java.lang.String getIssuer()
The certificate issuers complete distinguished name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setIssuer
public void setIssuer(java.lang.String issuer)
The certificate issuers complete distinguished name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
issuer
- New value for the property.
-
getIssuerCn
public java.lang.String getIssuerCn()
The certificate issuer's common name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setIssuerCn
public void setIssuerCn(java.lang.String issuerCn)
The certificate issuer's common name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
issuerCn
- New value for the property.
-
getNotAfter
public java.lang.Long getNotAfter()
The time in epoch milliseconds at which the certificate becomes invalid. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setNotAfter
public void setNotAfter(java.lang.Long notAfter)
The time in epoch milliseconds at which the certificate becomes invalid. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
notAfter
- New value for the property.
-
getNotBefore
public java.lang.Long getNotBefore()
The time in epoch milliseconds at which the certificate becomes valid. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setNotBefore
public void setNotBefore(java.lang.Long notBefore)
The time in epoch milliseconds at which the certificate becomes valid. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
notBefore
- New value for the property.
-
getParsedPemEncoding
public java.lang.String getParsedPemEncoding()
This is the PEM encoding after parsing out any extraneous characters, ensuring any library will accept it. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setParsedPemEncoding
public void setParsedPemEncoding(java.lang.String parsedPemEncoding)
This is the PEM encoding after parsing out any extraneous characters, ensuring any library will accept it. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
parsedPemEncoding
- New value for the property.
-
getPublicKeyAlgo
public java.lang.String getPublicKeyAlgo()
Cryptographic algorithm used by the public key for data encryption. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setPublicKeyAlgo
public void setPublicKeyAlgo(java.lang.String publicKeyAlgo)
Cryptographic algorithm used by the public key for data encryption. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
publicKeyAlgo
- New value for the property.
-
getPublicKeyLength
public java.lang.Long getPublicKeyLength()
Size measured in bits of the public/private keys used in a cryptographic algorithm. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setPublicKeyLength
public void setPublicKeyLength(java.lang.Long publicKeyLength)
Size measured in bits of the public/private keys used in a cryptographic algorithm. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
publicKeyLength
- New value for the property.
-
getRsaPublicKeyExponent
public java.lang.String getRsaPublicKeyExponent()
An RSA public key is made up of the modulus and the public exponent. Exponent is a power number. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRsaPublicKeyExponent
public void setRsaPublicKeyExponent(java.lang.String rsaPublicKeyExponent)
An RSA public key is made up of the modulus and the public exponent. Exponent is a power number. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rsaPublicKeyExponent
- New value for the property.
-
getRsaPublicKeyModulus
public java.lang.String getRsaPublicKeyModulus()
An RSA public key is made up of the modulus and the public exponent. Modulus is wrap around number. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRsaPublicKeyModulus
public void setRsaPublicKeyModulus(java.lang.String rsaPublicKeyModulus)
An RSA public key is made up of the modulus and the public exponent. Modulus is wrap around number. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rsaPublicKeyModulus
- New value for the property.
-
getSerialNumber
public java.lang.String getSerialNumber()
Certificate's serial number. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSerialNumber
public void setSerialNumber(java.lang.String serialNumber)
Certificate's serial number. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
serialNumber
- New value for the property.
-
getSha256Thumbprint
public java.lang.String getSha256Thumbprint()
The SHA256 thumbprint of the certificate, in hexadecimal notation. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSha256Thumbprint
public void setSha256Thumbprint(java.lang.String sha256Thumbprint)
The SHA256 thumbprint of the certificate, in hexadecimal notation. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
sha256Thumbprint
- New value for the property.
-
getSignature
public java.lang.String getSignature()
The signature value(the raw signature bits) used for signing and validate the cert. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSignature
public void setSignature(java.lang.String signature)
The signature value(the raw signature bits) used for signing and validate the cert. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
signature
- New value for the property.
-
getSignatureAlgorithm
public java.lang.String getSignatureAlgorithm()
The algorithm used by the Certificate Authority to sign the certificate. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSignatureAlgorithm
public void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
The algorithm used by the Certificate Authority to sign the certificate. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
signatureAlgorithm
- New value for the property.
-
getSubject
public java.lang.String getSubject()
The certificate owners complete distinguished name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSubject
public void setSubject(java.lang.String subject)
The certificate owners complete distinguished name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
subject
- New value for the property.
-
getSubjectCn
public java.lang.String getSubjectCn()
The certificate owner's common name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSubjectCn
public void setSubjectCn(java.lang.String subjectCn)
The certificate owner's common name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
subjectCn
- New value for the property.
-
getVersion
public java.lang.String getVersion()
Certificate version (default v1). This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setVersion
public void setVersion(java.lang.String version)
Certificate version (default v1). This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
version
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static X509Certificate _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.- Parameters:
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.- Returns:
- the static bindings
StructType
-
_newInstance2
public static X509Certificate _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-