Skip to main content
Version: 1.5

Class: IssuerProtectedHeader

identity_wasm.IssuerProtectedHeader

Table of contents​

Properties​

Methods​

Properties​

alg​

• alg: ProofAlgorithm

Algorithm used for the JWP.


cid​

• Optional cid: string

Not handled for now. Will be used in the future to resolve external claims


kid​

• Optional kid: string

ID for the key used for the JWP.


typ​

• Optional typ: string

JWP type (JPT).

Methods​

toJSON​

▸ toJSON(): Object

  • Return copy of self without private attributes.

Returns​

Object


toString​

▸ toString(): string

Return stringified version of self.

Returns​

string


claims​

▸ claims(): string[]

Returns​

string[]