jose/docs/interfaces/types.FlattenedJWS.md
2021-09-02 18:54:46 +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:167


payload

payload: string

Overrides

Partial.payload

Defined in

types.d.ts:217


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


signature

signature: string

Overrides

Partial.signature

Defined in

types.d.ts:218