Interface GetInstanceTpmEkPubRequest.Builder

    • Method Detail

      • instanceId

        GetInstanceTpmEkPubRequest.Builder instanceId​(String instanceId)

        The ID of the instance for which to get the public endorsement key.

        Parameters:
        instanceId - The ID of the instance for which to get the public endorsement key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyFormat

        GetInstanceTpmEkPubRequest.Builder keyFormat​(String keyFormat)

        The required public endorsement key format. Specify der for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.

        Parameters:
        keyFormat - The required public endorsement key format. Specify der for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EkPubKeyFormat, EkPubKeyFormat
      • keyFormat

        GetInstanceTpmEkPubRequest.Builder keyFormat​(EkPubKeyFormat keyFormat)

        The required public endorsement key format. Specify der for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.

        Parameters:
        keyFormat - The required public endorsement key format. Specify der for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EkPubKeyFormat, EkPubKeyFormat
      • dryRun

        GetInstanceTpmEkPubRequest.Builder dryRun​(Boolean dryRun)

        Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is DryRunOperation. Otherwise, the response is UnauthorizedOperation.

        Parameters:
        dryRun - Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is DryRunOperation. Otherwise, the response is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.