Delen via


JsonWebToken.Cty Property

Definition

Gets the 'value' of the 'cty' claim from the header.

public string Cty { get; }
member this.Cty : string
Public ReadOnly Property Cty As String

Property Value

Remarks

Used by JWS applications to declare the media type[IANA.MediaTypes] of the secured content (the payload). See: https://datatracker.ietf.org/doc/html/rfc7516#section-4.1.12 (JWE). See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.10 (JWS).

If the 'cty' claim is not found, an empty string is returned.

Applies to