1.73.0 (latest) 1.69.0 1.68.0 1.60.0 1.59.0 1.55.0 1.50.0

    public class JsonWebSignature.Header : JsonWebToken.Header

Header as specified in <http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11#section-4.1>.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [JsonWebToken](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken.md.txt)[Header](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken.Header.md.txt) \> JsonWebSignature.Header

## Inherited Members

[JsonWebToken.Header.Type](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken.Header.md.txt#Google_Apis_Auth_JsonWebToken_Header_Type) [JsonWebToken.Header.ContentType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.JsonWebToken.Header.md.txt#Google_Apis_Auth_JsonWebToken_Header_ContentType) [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Derived Types

[GoogleJsonWebSignature.Header](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.GoogleJsonWebSignature.Header.md.txt)

## Namespace

[Google.Apis.Auth](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.md.txt)

## Assembly

Google.Apis.Auth.dll

## Properties

### Algorithm

    [JsonProperty("alg")]
    public string Algorithm { get; set; }

Gets or set the algorithm header parameter that identifies the cryptographic algorithm used to secure
the JWS or `null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Jwk

    [JsonProperty("jwk")]
    public string Jwk { get; set; }

Gets or sets JSON Web Key header parameter that is a public key that corresponds to the key used to
digitally sign the JWS or `null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### JwkUrl

    [JsonProperty("jku")]
    public string JwkUrl { get; set; }

Gets or sets the JSON Web Key URL header parameter that is an absolute URL that refers to a resource
for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally
sign the JWS or `null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### KeyId

    [JsonProperty("kid")]
    public string KeyId { get; set; }

Gets or sets key ID header parameter that is a hint indicating which specific key owned by the signer
should be used to validate the digital signature or `null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### X509Certificate

    [JsonProperty("x5c")]
    public string X509Certificate { get; set; }

Gets or sets X.509 certificate chain header parameter contains the X.509 public key certificate or
certificate chain corresponding to the key used to digitally sign the JWS or `null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### X509Thumbprint

    [JsonProperty("x5t")]
    public string X509Thumbprint { get; set; }

Gets or sets X.509 certificate thumb print header parameter that provides a base64url encoded SHA-1
thumb-print (a.k.a. digest) of the DER encoding of an X.509 certificate that can be used to match the
certificate or `null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### X509Url

    [JsonProperty("x5u")]
    public string X509Url { get; set; }

Gets or sets X.509 URL header parameter that is an absolute URL that refers to a resource for the X.509
public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or
`null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### critical

    [JsonProperty("crit")]
    public IList<string> critical { get; set; }

Gets or sets array listing the header parameter names that define extensions that are used in the JWS
header that MUST be understood and processed or `null`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IListstring` |   |

## Extension Method

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities.md.txt#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)