1.0.0 (2021-08-10)
Features Added
Added hand authored implementation for policy management certificate APIs: getPolicyManagementCertificates
, addPolicyManagementCertificate
and removePolicyManagementCertificate
.
Simplified the calling pattern for the Attest family of APIs.
Simplified some model types to be reflected as either parameters or interfaces.
The attestation family of APIs no longer requires authentication credentials.
The attestation family of APIs now accepts Blob objects in addition to Uint8Array
and Buffer objects as inputs.
Breaking Changes
- Reversed the order of
credentials
andendpoint
inAttestationAdministrationClient
to be
consistent with other SDKs. - Removed
credentials
top level parameter forAttestationClient
constructor, moved
to theAttestationClientOptions
object. - Renamed the
validateToken
API in theAttestationToken
class togetTokenProblems
returning
an array of strings. - Attestation Policy APIs (
setPolicy
,resetPolicy
) have had theirprivateKey
andcertificate
parameters moved to options. - Renamed
instanceUrl
toendpoint
to be consistent with other APIs. - Removed
policyCertificates
fromAttestationAdministrationClient
. - Removed
StoredAttestationPolicy
and replaced it withAttestationPolicyToken
. - Removed
AttestationData
type. Instead of specifying anAttestationData
forinitTimeData
andrunTimeData
to the Attest APIs, the attest APIs take aninitTimeJson
,initTimeData
,runTimeData
andrunTimeJson
object and determine
theDataType
to send to the server based on that. - Removed the
AttestationSigningKey
model type replaced with two parameters
privateKey
andcertificate
to the APIs which used to accept anAttestationSigningKey
- Renamed
AttestationResponse.value
toAttestationResponse.body
to align with
API guidelines.