Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttestationTokenImpl

Package version

An AttestationToken represents an RFC 7515 JSON Web Signature object.

It can represent either the token returned by the attestation service, or it can be used to create a token locally which can be used to verify attestation policy changes.

Hierarchy

  • AttestationTokenImpl

Implements

Index

Accessors

algorithm

  • get algorithm(): string

certificateChain

certificateSha256Thumbprint

  • get certificateSha256Thumbprint(): string | undefined

certificateThumbprint

  • get certificateThumbprint(): string | undefined

contentType

  • get contentType(): string | undefined

critical

  • get critical(): boolean | undefined

expiresOn

  • get expiresOn(): Date | undefined

issuedAt

  • get issuedAt(): Date | undefined

issuer

  • get issuer(): string | undefined

keyId

  • get keyId(): string | undefined

keyUrl

  • get keyUrl(): string | undefined

notBefore

  • get notBefore(): Date | undefined

type

  • get type(): string | undefined

x509Url

  • get x509Url(): string | undefined

Methods

getBody

  • getBody(): unknown

getTokenProblems

serialize

  • serialize(): string

Static create

  • create(params: { body?: undefined | string; certificate?: undefined | string; privateKey?: undefined | string }): AttestationToken

Generated using TypeDoc