Package version
Returns the algorithm from the header of the JSON Web Signature.
See RFC 7515 Section 4.1.1) for details.
If the value of algorithm is "none" it indicates that the token is unsecured.
Json Web Token Header "x509 certificate chain".
Json Web Token Header "x509 SHA256 thumprint".
Json Web Token Header "x509 thumprint". See RFC 7515 Section 4.1.7)
Json Web Token Header "content type". See RFC 7515 Section 4.1.10)
Json Web Signature Header "crit".
See RFC 7515 Section 4.1.11) for details.
Expiration time for the token, from JWT body.
See RFC 7519 Section 4.1.4) for details.
Issuance time for the token, from JWT body.
See RFC 7519 Section 4.1.6) for details.
Issuer of the attestation token. See RFC 7519 Section 4.1.6) for details.
Json Web Signature Header "kid". See RFC 7515 Section 4.1.4) for details.
Json Web Token Header "key URL".
Not Before time for the token, from JWT body.
See RFC 7519 Section 4.1.5) for details.
Json Web Token Header "Typ".
Json Web Token Header "X509 Url".
Returns the deserialized body of the AttestationToken object.
The body of the attestation token as an object.
Validates the attestation token to verify that it is semantically correct.
the set of possible signers for this attestation token.
validation options
the token to a string.
The token serialized to a RFC 7515 JSON Web Signature.
Generated using TypeDoc
An AttestationPolicyToken represents an AttestationToken which holds an attestation policy document.
When the attestation service receives a set policy request, the payload of the set policy token contains a JSON Web Signature whose body contains the actual attestation policy document.
The AttestationPolicyToken represents this JWS object.