public static final class EndorsementKeysTypes.CreateSpec.Builder
extends java.lang.Object
EndorsementKeysTypes.CreateSpec
.Constructor and Description |
---|
Builder(java.lang.String name)
Constructor with parameters for the required properties of
EndorsementKeysTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
EndorsementKeysTypes.CreateSpec |
build() |
EndorsementKeysTypes.CreateSpec.Builder |
setCertificate(java.lang.String certificate)
TPM endorsement key certificate in PEM format.
|
EndorsementKeysTypes.CreateSpec.Builder |
setPublicKey(java.lang.String publicKey)
TPM public endorsement key in PEM format.
|
public Builder(java.lang.String name)
EndorsementKeysTypes.CreateSpec
.public EndorsementKeysTypes.CreateSpec.Builder setPublicKey(java.lang.String publicKey)
null
EndorsementKeysTypes.CreateSpec.getCertificate()
must be Set
.publicKey
- New value for the property.public EndorsementKeysTypes.CreateSpec.Builder setCertificate(java.lang.String certificate)
When a endorsement key certificate is provided, it will be verified against the CA certificate list. Endorsement key certificates that are not signed by one of the CA certificates will be rejected.
Using this format allows for failures to be caught during configuration rather than later during attestation.
. This property was added in vSphere API 7.0.0.0. Ifnull
EndorsementKeysTypes.CreateSpec.getPublicKey()
must be Set
.certificate
- New value for the property.public EndorsementKeysTypes.CreateSpec build()