jose/docs/interfaces/types.FlattenedJWS.md
2021-09-23 00:03:05 +02:00

1.8 KiB

Interface: FlattenedJWS

types.FlattenedJWS

Flattened JWS definition. Payload is returned as an empty string 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:196


payload

payload: string

Overrides

Partial.payload

Defined in

types.d.ts:246


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:211


signature

signature: string

Overrides

Partial.signature

Defined in

types.d.ts:247