Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AttestationPolicyToken

Package version

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.

Hierarchy

Index

Properties

algorithm

algorithm: string

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.

Optional certificateChain

certificateChain: AttestationSigner

Json Web Token Header "x509 certificate chain".

See RFC 7515 Section 4.1.6)

Optional certificateSha256Thumbprint

certificateSha256Thumbprint: undefined | string

Json Web Token Header "x509 SHA256 thumprint".

See RFC 7515 Section 4.1.8)

Optional certificateThumbprint

certificateThumbprint: undefined | string

Json Web Token Header "x509 thumprint". See RFC 7515 Section 4.1.7)

Optional contentType

contentType: undefined | string

Json Web Token Header "content type". See RFC 7515 Section 4.1.10)

Optional critical

critical: undefined | false | true

Json Web Signature Header "crit".

See RFC 7515 Section 4.1.11) for details.

Optional expiresOn

expiresOn: Date

Expiration time for the token, from JWT body.

See RFC 7519 Section 4.1.4) for details.

Optional issuedAt

issuedAt: Date

Issuance time for the token, from JWT body.

See RFC 7519 Section 4.1.6) for details.

Optional issuer

issuer: undefined | string

Issuer of the attestation token. See RFC 7519 Section 4.1.6) for details.

Optional keyId

keyId: undefined | string

Json Web Signature Header "kid". See RFC 7515 Section 4.1.4) for details.

Optional keyUrl

keyUrl: undefined | string

Json Web Token Header "key URL".

see

RFC 7515 Section 4.1.2)

Optional notBefore

notBefore: Date

Not Before time for the token, from JWT body.

See RFC 7519 Section 4.1.5) for details.

Optional type

type: undefined | string

Json Web Token Header "Typ".

see

RFC 7515 Section 4.1.9)

Optional x509Url

x509Url: undefined | string

Json Web Token Header "X509 Url".

see

RFC 7515 Section 4.1.5)

Methods

getBody

  • getBody(): unknown

getTokenProblems

serialize

  • serialize(): string

Generated using TypeDoc