azure-security-attestation
|
Go to the documentation of this file.
14 #include <azure/core/internal/client_options.hpp>
15 #include <azure/core/internal/extendable_enumeration.hpp>
17 namespace Azure {
namespace Security {
namespace Attestation {
143 :
public Azure::Core::_internal::ExtendableEnumeration<AttestationDataType> {
209 Azure::Nullable<std::string>
Nonce{};
244 Azure::Nullable<std::string>
Nonce{};
Azure::Nullable< std::string > DraftPolicyForAttestation
A test hook which allows developers to test attestation policies before they commit them to the servi...
Definition: attestation_client_options.hpp:250
Azure::Nullable< AttestationSigningKey > SigningKey
Optional Signing Key which is used to sign the SetPolicy request.
Definition: attestation_client_options.hpp:311
AttestationClientOptions(AttestationTokenValidationOptions const &tokenValidationOptions={})
Construct a new Attestation Client Options object.
Definition: attestation_client_options.hpp:109
Azure::Nullable< AttestationData > InitTimeData
Data created when the enclave was created. Not supported on Coffeelake processors.
Definition: attestation_client_options.hpp:238
bool ValidateToken
Controls whether attestation tokens are validated at all.
Definition: attestation_client_options.hpp:39
std::string Payload
JSON Data to send to the attestation service for TPM attestation.
Definition: attestation_client_options.hpp:269
bool ValidateSigner
Controls whether the signature for the attestation token should be validated.
Definition: attestation_client_options.hpp:46
Defines the Azure Attestation API types.
std::string ApiVersion
Version to use when communicating with the attestation service.
Definition: attestation_client_options.hpp:122
TokenValidationCallbackFn ValidationCallback
The TokenValidationCallback specifies a callback function which can perform additional token validati...
Definition: attestation_client_options.hpp:87
Azure::Nullable< AttestationData > InitTimeData
Data created when the enclave was created. Not supported on Coffeelake processors.
Definition: attestation_client_options.hpp:203
bool ValidateExpirationTime
Controls whether the attestation token expiration time is checked.
Definition: attestation_client_options.hpp:52
The AttestationSigningKey represents a tuple of asymmetric private cryptographic key and X....
Definition: attestation_client_options.hpp:279
Azure::Nullable< AttestationData > RunTimeData
Data created dynamically within the enclave.
Definition: attestation_client_options.hpp:198
std::string ApiVersion
Version to use when communicating with the attestation service.
Definition: attestation_client_options.hpp:97
AttestationAdministrationClientOptions(AttestationTokenValidationOptions const &tokenValidationOptions={})
Construct a new Attestation Client Options object.
Definition: attestation_client_options.hpp:132
The AttestationTokenValidationOptions represents a set of options which control how attestation token...
Definition: attestation_client_options.hpp:34
bool ValidateIssuer
Controls whether the issuer of the attestation token is checked.
Definition: attestation_client_options.hpp:64
Parameters sent to the attestation service for the AttestTpm API.
Definition: attestation_client_options.hpp:263
Azure::Nullable< AttestationTokenValidationOptions > TokenValidationOptionsOverride
Specifies the options which should be used to validate the attestation token returned by the attestat...
Definition: attestation_client_options.hpp:357
std::string PemEncodedPrivateKey
A PEM encoded RSA or ECDSA private key which will be used to sign an attestation token.
Definition: attestation_client_options.hpp:283
AttestationTokenValidationOptions TokenValidationOptions
Options sent when validating tokens received by the attestation service.
Definition: attestation_client_options.hpp:125
Define the options to create an Attestation client.
Definition: attestation_client_options.hpp:94
Azure::Nullable< AttestationTokenValidationOptions > TokenValidationOptionsOverride
Specifies the options which should be used to validate the attestation token returned by the attestat...
Definition: attestation_client_options.hpp:257
std::chrono::seconds TimeValidationSlack
The slack used when comparing two time elements.
Definition: attestation_client_options.hpp:74
Azure::Nullable< std::string > DraftPolicyForAttestation
A test hook which allows developers to test attestation policies before they commit them to the servi...
Definition: attestation_client_options.hpp:215
bool ValidateNotBeforeTime
Controls whether or not the attestation token start time is checked.
Definition: attestation_client_options.hpp:58
The AttestationDataType represents how the attestation service should interpret the AttestOptions::Ru...
Definition: attestation_client_options.hpp:143
Parameters sent to the attestation service when removing a policy management certificate.
Definition: attestation_client_options.hpp:351
AttestationData represents a block of data to be sent to the attestation service. See the description...
Definition: attestation_client_options.hpp:176
Parameters sent to the attestation service when setting an attestation policy.
Definition: attestation_client_options.hpp:308
Azure SDK abstractions.
Definition: attestation_administration_client.hpp:13
Parameters sent to the attestation service when retrieving an attestation policy.
Definition: attestation_client_options.hpp:296
AttestationTokenValidationOptions TokenValidationOptions
Options sent when validating tokens received by the attestation service.
Definition: attestation_client_options.hpp:102
std::function< void(Models::AttestationToken< void > const &token, Models::AttestationSigner const &tokenSigner)> TokenValidationCallbackFn
The TokenValidationCallbackFn represents a callback which is called to allow the caller to perform ad...
Definition: attestation_client_options.hpp:29
Azure::Nullable< std::string > Nonce
Nonce which is sent to the attestation service to allow a caller to prevent replay attacks.
Definition: attestation_client_options.hpp:209
Parameters sent to the attestation service for the AttestationClient::AttestSgxEnclave API.
Definition: attestation_client_options.hpp:194
Parameters sent to the attestation service when adding a new policy management certificate.
Definition: attestation_client_options.hpp:338
Azure::Nullable< AttestationTokenValidationOptions > TokenValidationOptionsOverride
Specifies the options which should be used to validate the attestation token returned by the attestat...
Definition: attestation_client_options.hpp:222
Parameters sent to the attestation service for the AttestationClient::AttestOpenEnclave API.
Definition: attestation_client_options.hpp:229
An AttestationResult reflects the result of an Attestation operation.
Definition: attestation_client_models.hpp:280
static AZ_ATTESTATION_DLLEXPORT const AttestationDataType Json
When specified, instructs the attestation service to express the runtime data in the generated token ...
Definition: attestation_client_options.hpp:161
std::vector< uint8_t > Data
Data contained within attestation evidence.
Definition: attestation_client_options.hpp:183
Define the options to create an Attestation Administration client.
Definition: attestation_client_options.hpp:119
Azure::Nullable< AttestationData > RunTimeData
Data created dynamically within the enclave.
Definition: attestation_client_options.hpp:233
std::string PemEncodedX509Certificate
A PEM encoded X.509 certificate which will be sent to the attestation service to validate an attestat...
Definition: attestation_client_options.hpp:290
#define AZ_ATTESTATION_DLLEXPORT
Applies DLL export attribute, when applicable.
Definition: dll_import_export.hpp:36
AttestationDataType DataType
Reflects how the Data field should be represented in the resulting attestation token.
Definition: attestation_client_options.hpp:187
Parameters sent to the attestation service when retrieving the list of policy management certificates...
Definition: attestation_client_options.hpp:325
Azure::Nullable< AttestationTokenValidationOptions > TokenValidationOptionsOverride
Specifies the options which should be used to validate the attestation token returned by the attestat...
Definition: attestation_client_options.hpp:302
Azure::Nullable< AttestationTokenValidationOptions > TokenValidationOptionsOverride
Specifies the options which should be used to validate the attestation token returned by the attestat...
Definition: attestation_client_options.hpp:318
static AZ_ATTESTATION_DLLEXPORT const AttestationDataType Binary
When specified, instructs the attestation service to express the runtime data in the generated token ...
Definition: attestation_client_options.hpp:168
Azure::Nullable< AttestationTokenValidationOptions > TokenValidationOptionsOverride
Specifies the options which should be used to validate the attestation token returned by the attestat...
Definition: attestation_client_options.hpp:331
Azure::Nullable< AttestationTokenValidationOptions > TokenValidationOptionsOverride
Specifies the options which should be used to validate the attestation token returned by the attestat...
Definition: attestation_client_options.hpp:344
AttestationDataType(std::string dataType)
Construct a new attestation DataType object.
Definition: attestation_client_options.hpp:151
An AttestationSigner represents an X .509 certificate and KeyID pair.
Definition: attestation_client_models.hpp:109
std::string ExpectedIssuer
The expected issuer for this attestation token.
Definition: attestation_client_options.hpp:70
Azure::Nullable< std::string > Nonce
Nonce which is sent to the attestation service to allow a caller to prevent replay attacks.
Definition: attestation_client_options.hpp:244