azure-security-attestation
|
Go to the documentation of this file.
13 #include <azure/core/context.hpp>
14 #include <azure/core/http/http.hpp>
15 #include <azure/core/internal/extendable_enumeration.hpp>
16 #include <azure/core/nullable.hpp>
17 #include <azure/core/paged_response.hpp>
18 #include <azure/core/response.hpp>
22 #include <unordered_map>
25 namespace Azure {
namespace Security {
namespace Attestation {
namespace Models {
33 :
public Azure::Core::_internal::ExtendableEnumeration<AttestationType> {
41 : ExtendableEnumeration(std::move(attestationType))
146 Azure::Nullable<AttestationSigner>
Key;
174 Azure::Nullable<std::vector<std::string>>
Critical;
193 Azure::Nullable<std::string>
Type;
465 :
public Azure::Core::_internal::ExtendableEnumeration<PolicyModification> {
474 : ExtendableEnumeration(std::move(modification))
518 :
public Azure::Core::_internal::ExtendableEnumeration<PolicyCertificateModification> {
527 : ExtendableEnumeration(std::move(modification))
555 std::string CertificateThumbprint;
Azure::Nullable< Azure::DateTime > NotBefore
Definition: attestation_client_models.hpp:329
std::vector< AttestationSigner > Certificates
The current set of policy management certificates.
Definition: attestation_client_models.hpp:567
Represents a set of Isolated Mode certificates for the current attestation instance.
Definition: attestation_client_models.hpp:563
Azure::Nullable< std::string > VerifierType
The verifier which generated this AttestationResult.
Definition: attestation_client_models.hpp:398
Azure::Nullable< AttestationSigner > PolicySigner
A JSON Web Key containing the signer of the policy token. If not present, the token was unsecured.
Definition: attestation_client_models.hpp:511
Optional elements when an AttestationToken is specialized on a type.
Definition: attestation_client_models.hpp:237
Azure::Nullable< int > SgxSvn
The security version number of the SGX enclave.
Definition: attestation_client_models.hpp:438
Represents the result of a policy certificate modification.
Definition: attestation_client_models.hpp:518
Azure::Nullable< bool > SgxIsDebuggable
If present, reflects that the enclave being attestated can be debugged.
Definition: attestation_client_models.hpp:414
Result of a SetPolicy or ResetPolicy operation.
Definition: attestation_client_models.hpp:496
Azure::Nullable< Azure::DateTime > ExpiresOn
Definition: attestation_client_models.hpp:311
Azure::Nullable< std::string > InitTimeClaims
InitTime claims.
Definition: attestation_client_models.hpp:384
Azure::Nullable< std::string > Subject
Definition: attestation_client_models.hpp:354
Represents the result of an Isolated Mode certificate modification API.
Definition: attestation_client_models.hpp:552
std::vector< uint8_t > Signature
Signature (if present) for the attestation token.
Definition: attestation_client_models.hpp:294
Azure::Nullable< std::vector< std::string > > CertificateChain
An array of PEM encoded X .509 certificates.The first certificate in the array will be used to sign a...
Definition: attestation_client_models.hpp:118
PolicyModification(std::string modification)
Construct a new PolicyModification object.
Definition: attestation_client_models.hpp:473
static AZ_ATTESTATION_DLLEXPORT const PolicyCertificateModification IsAbsent
After the operation was performed, the certificate is no longer present in the set of certificates.
Definition: attestation_client_models.hpp:545
Azure::Nullable< std::vector< uint8_t > > SgxMrEnclave
If present, the contents of the MRENCLAVE register for the SGX enclave being attested - this reflects...
Definition: attestation_client_models.hpp:425
Azure::Nullable< std::string > UniqueIdentifier
Definition: attestation_client_models.hpp:346
static AZ_ATTESTATION_DLLEXPORT const PolicyCertificateModification IsPresent
After the operation was performed, the certificate is in the set of certificates.
Definition: attestation_client_models.hpp:538
Azure::Nullable< AttestationSigner > PolicySigner
If the attestation policy is signed, this will be the certificate chain used to sign the policy.
Definition: attestation_client_models.hpp:404
static AZ_ATTESTATION_DLLEXPORT const AttestationType OpenEnclave
Specifies that this should apply to SGX enclaves using the OpenEnclave APIs.
Definition: attestation_client_models.hpp:55
Azure::Nullable< std::string > Version
The version of this attestation response.
Definition: attestation_client_models.hpp:373
std::string TpmResult
The JSON encoded value returned from TPM attestation. The TPM attestation protocol is defined here
Definition: attestation_client_models.hpp:456
PolicyModification PolicyResolution
Result of a modification.
Definition: attestation_client_models.hpp:500
Azure::Nullable< std::string > RunTimeClaims
JSON encoded runtime claims - this will be the input RunTimeData parameter decoded and interpreted as...
Definition: attestation_client_models.hpp:378
Definition: attestation_client_models.hpp:366
The PolicyModification enumeration represents the result of an attestation policy modification.
Definition: attestation_client_models.hpp:465
Azure::Nullable< std::string > KeyId
The KeyID associated with the Certificate Chain.
Definition: attestation_client_models.hpp:112
Azure::Nullable< Azure::DateTime > IssuedOn
Definition: attestation_client_models.hpp:320
Azure SDK abstractions.
Definition: attestation_administration_client.hpp:13
Azure::Nullable< std::string > SgxCollateral
A JSON encoded string representing the collateral which was used to perform the attestation operation...
Definition: attestation_client_models.hpp:444
Azure::Nullable< std::vector< uint8_t > > PolicyHash
The SHA256 hash of the policy which was used generating the attestation result.
Definition: attestation_client_models.hpp:409
The result of a call to AttestTpm.
Definition: attestation_client_models.hpp:450
static AZ_ATTESTATION_DLLEXPORT const PolicyModification Updated
Specifies that the policy object was updated.
Definition: attestation_client_models.hpp:483
static AZ_ATTESTATION_DLLEXPORT const AttestationType SgxEnclave
Specifies that this should apply to SGX enclaves.
Definition: attestation_client_models.hpp:49
static AZ_ATTESTATION_DLLEXPORT const AttestationType Tpm
Specifies that this should apply to TPM enclaves.
Definition: attestation_client_models.hpp:61
An AttestationResult reflects the result of an Attestation operation.
Definition: attestation_client_models.hpp:280
T Body
The deserialized body of the attestation token.
Definition: attestation_client_models.hpp:242
Azure::Nullable< int > SgxProductId
If present, the ProductId for the enclave being attested.
Definition: attestation_client_models.hpp:418
Azure::Nullable< std::string > Issuer
Definition: attestation_client_models.hpp:338
Azure::Nullable< std::vector< uint8_t > > EnclaveHeldData
If the RunTimeData parameter is specified as being of DataType::Binary, this will be the value of the...
Definition: attestation_client_models.hpp:395
#define AZ_ATTESTATION_DLLEXPORT
Applies DLL export attribute, when applicable.
Definition: dll_import_export.hpp:36
Azure::Nullable< std::string > Audience
Definition: attestation_client_models.hpp:362
PolicyCertificateModification(std::string modification)
Construct a new PolicyResolution object.
Definition: attestation_client_models.hpp:526
The AttestationType type represent a Trusted Execution Environment supported by the attestation servi...
Definition: attestation_client_models.hpp:33
std::vector< uint8_t > PolicyTokenHash
The SHA256 hash of the policy object which was received by the service.
Definition: attestation_client_models.hpp:505
std::vector< AttestationSigner > Signers
The collection of signers.
Definition: attestation_client_models.hpp:230
Azure::Nullable< std::vector< uint8_t > > SgxMrSigner
If present, the contents of the MRSIGNER register for the SGX enclave being attested - this reflects ...
Definition: attestation_client_models.hpp:432
An AttestationSigner represents an X .509 certificate and KeyID pair.
Definition: attestation_client_models.hpp:109
AttestationType(std::string attestationType)
Construct a new AttestationType object.
Definition: attestation_client_models.hpp:40
Models::AttestationTokenHeader Header
RFC 7515 header properties.
Definition: attestation_client_models.hpp:299
std::string SignedElements
The elements of the raw token which will be signed by the Signature.
Definition: attestation_client_models.hpp:289
A collection of AttestationSigner objects.
Definition: attestation_client_models.hpp:227
static AZ_ATTESTATION_DLLEXPORT const PolicyModification Removed
Specifies that the policy object was removed.
Definition: attestation_client_models.hpp:489
Azure::Nullable< std::string > Nonce
The nonce provided by the client in the attestation operation.
Definition: attestation_client_models.hpp:370
Azure::Nullable< std::string > PolicyClaims
PolicyClaims is the JSON encoded values of all the claims created by attestation policies on this ins...
Definition: attestation_client_models.hpp:389
std::string RawToken
The full RFC 7515 JWS/JWT token returned by the attestation service.
Definition: attestation_client_models.hpp:284