jose/docs/interfaces/types.FlattenedJWS.md
2021-07-21 14:20:32 +02:00

1.9 KiB

Interface: FlattenedJWS

types.FlattenedJWS

Flattened JWS definition. Payload is an optional return property, it is not returned when JWS Unencoded Payload Option RFC7797 is used.

Hierarchy

Table of contents

Properties

Properties

header

Optional header: JWSHeaderParameters

The "header" member MUST be present and contain the value JWS Unprotected Header when the JWS Unprotected Header value is non- empty; otherwise, it MUST be absent. This value is represented as an unencoded JSON object, rather than as a string. These Header Parameter values are not integrity protected.

Inherited from

Partial.header

Defined in

types.d.ts:168


payload

Optional payload: string

Overrides

Partial.payload

Defined in

types.d.ts:218


protected

Optional protected: string

The "protected" member MUST be present and contain the value BASE64URL(UTF8(JWS Protected Header)) when the JWS Protected Header value is non-empty; otherwise, it MUST be absent. These Header Parameter values are integrity protected.

Inherited from

Partial.protected

Defined in

types.d.ts:183


signature

signature: string

Overrides

Partial.signature

Defined in

types.d.ts:219