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 classX509Certificate.BuilderBuilder class forX509Certificate.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFieldsstatic java.lang.StringECDSA_EC_FIELD_F2Mstatic java.lang.StringECDSA_EC_FIELD_FP
-
Constructor Summary
Constructors Modifier Constructor Description X509Certificate()Default constructor.protectedX509Certificate(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()booleanequals(java.lang.Object obj)java.lang.StringgetDsaPublicKeyg()One of the DSA cryptogaphic algorithm's strength parameters, base.java.lang.StringgetDsaPublicKeyp()One of the DSA cryptogaphic algorithm's strength parameters, prime.java.lang.StringgetDsaPublicKeyq()One of the DSA cryptogaphic algorithm's strength parameters, sub-prime.java.lang.StringgetDsaPublicKeyy()One of the DSA cryptogaphic algorithm's strength parameters.java.lang.StringgetEcdsaCurveName()The Curve name for the ECDSA certificate.java.lang.StringgetEcdsaEcField()Possible values are:ECDSA_EC_FIELD_F2MECDSA_EC_FIELD_FPRepresents 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.LonggetEcdsaEcFieldF2mm()The first coefficient of this elliptic curve in elliptic curve (EC) | characteristic 2 finite field for ECDSA.java.lang.StringgetEcdsaEcFieldF2mrp()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.StringgetEcdsaEcFieldF2pp()The specified prime for the elliptic curve prime finite field in ECDSA.java.lang.StringgetEcdsaPub()The public key information in ECDSA.java.lang.StringgetEcdsaPublicKeya()The first coefficient of this elliptic curve in ECDSA.java.lang.StringgetEcdsaPublicKeyb()The second coefficient of this elliptic curve in ECDSA.java.lang.LonggetEcdsaPublicKeyCofactor()The co-factor in ECDSA.java.lang.StringgetEcdsaPublicKeyGeneratorx()X co-ordinate of G (the generator which is also known as the base point) in ECDSA.java.lang.StringgetEcdsaPublicKeyGeneratory()Y co-ordinate of G (the generator which is also known as the base point) in ECDSA.java.lang.StringgetEcdsaPublicKeyOrder()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.BooleangetIsCa()True if this is a CA certificate.java.lang.StringgetIssuer()The certificate issuers complete distinguished name.java.lang.StringgetIssuerCn()The certificate issuer's common name.java.lang.BooleangetIsValid()True if this certificate is valid.java.lang.LonggetNotAfter()The time in epoch milliseconds at which the certificate becomes invalid.java.lang.LonggetNotBefore()The time in epoch milliseconds at which the certificate becomes valid.java.lang.StringgetParsedPemEncoding()This is the PEM encoding after parsing out any extraneous characters, ensuring any library will accept it.java.lang.StringgetPublicKeyAlgo()Cryptographic algorithm used by the public key for data encryption.java.lang.LonggetPublicKeyLength()Size measured in bits of the public/private keys used in a cryptographic algorithm.java.lang.StringgetRsaPublicKeyExponent()An RSA public key is made up of the modulus and the public exponent.java.lang.StringgetRsaPublicKeyModulus()An RSA public key is made up of the modulus and the public exponent.java.lang.StringgetSerialNumber()Certificate's serial number.java.lang.StringgetSha256Thumbprint()The SHA256 thumbprint of the certificate, in hexadecimal notation.java.lang.StringgetSignature()The signature value(the raw signature bits) used for signing and validate the cert.java.lang.StringgetSignatureAlgorithm()The algorithm used by the Certificate Authority to sign the certificate.java.lang.StringgetSubject()The certificate owners complete distinguished name.java.lang.StringgetSubjectCn()The certificate owner's common name.java.lang.StringgetVersion()Certificate version (default v1).inthashCode()voidsetDsaPublicKeyg(java.lang.String dsaPublicKeyg)One of the DSA cryptogaphic algorithm's strength parameters, base.voidsetDsaPublicKeyp(java.lang.String dsaPublicKeyp)One of the DSA cryptogaphic algorithm's strength parameters, prime.voidsetDsaPublicKeyq(java.lang.String dsaPublicKeyq)One of the DSA cryptogaphic algorithm's strength parameters, sub-prime.voidsetDsaPublicKeyy(java.lang.String dsaPublicKeyy)One of the DSA cryptogaphic algorithm's strength parameters.voidsetEcdsaCurveName(java.lang.String ecdsaCurveName)The Curve name for the ECDSA certificate.voidsetEcdsaEcField(java.lang.String ecdsaEcField)Possible values are:ECDSA_EC_FIELD_F2MECDSA_EC_FIELD_FPRepresents an elliptic curve (EC) finite field in ECDSA.voidsetEcdsaEcFieldF2mks(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.voidsetEcdsaEcFieldF2mm(java.lang.Long ecdsaEcFieldF2mm)The first coefficient of this elliptic curve in elliptic curve (EC) | characteristic 2 finite field for ECDSA.voidsetEcdsaEcFieldF2mrp(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.voidsetEcdsaEcFieldF2pp(java.lang.String ecdsaEcFieldF2pp)The specified prime for the elliptic curve prime finite field in ECDSA.voidsetEcdsaPub(java.lang.String ecdsaPub)The public key information in ECDSA.voidsetEcdsaPublicKeya(java.lang.String ecdsaPublicKeya)The first coefficient of this elliptic curve in ECDSA.voidsetEcdsaPublicKeyb(java.lang.String ecdsaPublicKeyb)The second coefficient of this elliptic curve in ECDSA.voidsetEcdsaPublicKeyCofactor(java.lang.Long ecdsaPublicKeyCofactor)The co-factor in ECDSA.voidsetEcdsaPublicKeyGeneratorx(java.lang.String ecdsaPublicKeyGeneratorx)X co-ordinate of G (the generator which is also known as the base point) in ECDSA.voidsetEcdsaPublicKeyGeneratory(java.lang.String ecdsaPublicKeyGeneratory)Y co-ordinate of G (the generator which is also known as the base point) in ECDSA.voidsetEcdsaPublicKeyOrder(java.lang.String ecdsaPublicKeyOrder)The order of generator G in ECDSA.voidsetEcdsaPublicKeySeed(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.voidsetIsCa(java.lang.Boolean isCa)True if this is a CA certificate.voidsetIssuer(java.lang.String issuer)The certificate issuers complete distinguished name.voidsetIssuerCn(java.lang.String issuerCn)The certificate issuer's common name.voidsetIsValid(java.lang.Boolean isValid)True if this certificate is valid.voidsetNotAfter(java.lang.Long notAfter)The time in epoch milliseconds at which the certificate becomes invalid.voidsetNotBefore(java.lang.Long notBefore)The time in epoch milliseconds at which the certificate becomes valid.voidsetParsedPemEncoding(java.lang.String parsedPemEncoding)This is the PEM encoding after parsing out any extraneous characters, ensuring any library will accept it.voidsetPublicKeyAlgo(java.lang.String publicKeyAlgo)Cryptographic algorithm used by the public key for data encryption.voidsetPublicKeyLength(java.lang.Long publicKeyLength)Size measured in bits of the public/private keys used in a cryptographic algorithm.voidsetRsaPublicKeyExponent(java.lang.String rsaPublicKeyExponent)An RSA public key is made up of the modulus and the public exponent.voidsetRsaPublicKeyModulus(java.lang.String rsaPublicKeyModulus)An RSA public key is made up of the modulus and the public exponent.voidsetSerialNumber(java.lang.String serialNumber)Certificate's serial number.voidsetSha256Thumbprint(java.lang.String sha256Thumbprint)The SHA256 thumbprint of the certificate, in hexadecimal notation.voidsetSignature(java.lang.String signature)The signature value(the raw signature bits) used for signing and validate the cert.voidsetSignatureAlgorithm(java.lang.String signatureAlgorithm)The algorithm used by the Certificate Authority to sign the certificate.voidsetSubject(java.lang.String subject)The certificate owners complete distinguished name.voidsetSubjectCn(java.lang.String subjectCn)The certificate owner's common name.voidsetVersion(java.lang.String version)Certificate version (default v1).java.lang.StringtoString()
-
-
-
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:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin 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:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein 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.
-
-