public final class X509Certificate
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
X509Certificate.Builder
Builder class for
X509Certificate . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
ECDSA_EC_FIELD_F2M |
static java.lang.String |
ECDSA_EC_FIELD_FP |
Modifier | Constructor and Description |
---|---|
|
X509Certificate()
Default constructor.
|
protected |
X509Certificate(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 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 |
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 |
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 |
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 |
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() |
public static final java.lang.String ECDSA_EC_FIELD_F2M
public static final java.lang.String ECDSA_EC_FIELD_FP
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public X509Certificate()
protected X509Certificate(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getDsaPublicKeyg()
public void setDsaPublicKeyg(java.lang.String dsaPublicKeyg)
dsaPublicKeyg
- New value for the property.public java.lang.String getDsaPublicKeyp()
public void setDsaPublicKeyp(java.lang.String dsaPublicKeyp)
dsaPublicKeyp
- New value for the property.public java.lang.String getDsaPublicKeyq()
public void setDsaPublicKeyq(java.lang.String dsaPublicKeyq)
dsaPublicKeyq
- New value for the property.public java.lang.String getDsaPublicKeyy()
public void setDsaPublicKeyy(java.lang.String dsaPublicKeyy)
dsaPublicKeyy
- New value for the property.public java.lang.String getEcdsaCurveName()
public void setEcdsaCurveName(java.lang.String ecdsaCurveName)
ecdsaCurveName
- New value for the property.public java.lang.String getEcdsaEcField()
public void setEcdsaEcField(java.lang.String ecdsaEcField)
ecdsaEcField
- New value for the property.public java.util.List<java.lang.Long> getEcdsaEcFieldF2mks()
public void setEcdsaEcFieldF2mks(java.util.List<java.lang.Long> ecdsaEcFieldF2mks)
ecdsaEcFieldF2mks
- New value for the property.public java.lang.Long getEcdsaEcFieldF2mm()
public void setEcdsaEcFieldF2mm(java.lang.Long ecdsaEcFieldF2mm)
ecdsaEcFieldF2mm
- New value for the property.public java.lang.String getEcdsaEcFieldF2mrp()
public void setEcdsaEcFieldF2mrp(java.lang.String ecdsaEcFieldF2mrp)
ecdsaEcFieldF2mrp
- New value for the property.public java.lang.String getEcdsaEcFieldF2pp()
public void setEcdsaEcFieldF2pp(java.lang.String ecdsaEcFieldF2pp)
ecdsaEcFieldF2pp
- New value for the property.public java.lang.String getEcdsaPublicKeya()
public void setEcdsaPublicKeya(java.lang.String ecdsaPublicKeya)
ecdsaPublicKeya
- New value for the property.public java.lang.String getEcdsaPublicKeyb()
public void setEcdsaPublicKeyb(java.lang.String ecdsaPublicKeyb)
ecdsaPublicKeyb
- New value for the property.public java.lang.Long getEcdsaPublicKeyCofactor()
public void setEcdsaPublicKeyCofactor(java.lang.Long ecdsaPublicKeyCofactor)
ecdsaPublicKeyCofactor
- New value for the property.public java.lang.String getEcdsaPublicKeyGeneratorx()
public void setEcdsaPublicKeyGeneratorx(java.lang.String ecdsaPublicKeyGeneratorx)
ecdsaPublicKeyGeneratorx
- New value for the property.public java.lang.String getEcdsaPublicKeyGeneratory()
public void setEcdsaPublicKeyGeneratory(java.lang.String ecdsaPublicKeyGeneratory)
ecdsaPublicKeyGeneratory
- New value for the property.public java.lang.String getEcdsaPublicKeyOrder()
public void setEcdsaPublicKeyOrder(java.lang.String ecdsaPublicKeyOrder)
ecdsaPublicKeyOrder
- New value for the property.public java.util.List<java.lang.String> getEcdsaPublicKeySeed()
public void setEcdsaPublicKeySeed(java.util.List<java.lang.String> ecdsaPublicKeySeed)
ecdsaPublicKeySeed
- New value for the property.public java.lang.Boolean getIsCa()
public void setIsCa(java.lang.Boolean isCa)
isCa
- 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.String getIssuer()
public void setIssuer(java.lang.String issuer)
issuer
- New value for the property.public java.lang.String getIssuerCn()
public void setIssuerCn(java.lang.String issuerCn)
issuerCn
- New value for the property.public java.lang.Long getNotAfter()
public void setNotAfter(java.lang.Long notAfter)
notAfter
- New value for the property.public java.lang.Long getNotBefore()
public void setNotBefore(java.lang.Long notBefore)
notBefore
- New value for the property.public java.lang.String getPublicKeyAlgo()
public void setPublicKeyAlgo(java.lang.String publicKeyAlgo)
publicKeyAlgo
- New value for the property.public java.lang.Long getPublicKeyLength()
public void setPublicKeyLength(java.lang.Long publicKeyLength)
publicKeyLength
- New value for the property.public java.lang.String getRsaPublicKeyExponent()
public void setRsaPublicKeyExponent(java.lang.String rsaPublicKeyExponent)
rsaPublicKeyExponent
- New value for the property.public java.lang.String getRsaPublicKeyModulus()
public void setRsaPublicKeyModulus(java.lang.String rsaPublicKeyModulus)
rsaPublicKeyModulus
- New value for the property.public java.lang.String getSerialNumber()
public void setSerialNumber(java.lang.String serialNumber)
serialNumber
- New value for the property.public java.lang.String getSha256Thumbprint()
public void setSha256Thumbprint(java.lang.String sha256Thumbprint)
sha256Thumbprint
- New value for the property.public java.lang.String getSignature()
public void setSignature(java.lang.String signature)
signature
- New value for the property.public java.lang.String getSignatureAlgorithm()
public void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
signatureAlgorithm
- 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.String getSubjectCn()
public void setSubjectCn(java.lang.String subjectCn)
subjectCn
- New value for the property.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public 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.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static X509Certificate _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.StructType
public static X509Certificate _newInstance2(com.vmware.vapi.data.StructValue structValue)