Class JsonWebSignature.Header
Header as specified in http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11#section-4.1.
Inherited Members
Namespace: Google.Apis.Auth
Assembly: Google.Apis.Auth.dll
Syntax
public class Header : JsonWebToken.Header
Properties
Algorithm
Gets or set the algorithm header parameter that identifies the cryptographic algorithm used to secure
the JWS or null
.
Declaration
[JsonProperty("alg")]
public string Algorithm { get; set; }
Property Value
Type | Description |
---|---|
System.String |
critical
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
.
Declaration
[JsonProperty("crit")]
public IList<string> critical { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Jwk
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
.
Declaration
[JsonProperty("jwk")]
public string Jwk { get; set; }
Property Value
Type | Description |
---|---|
System.String |
JwkUrl
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
.
Declaration
[JsonProperty("jku")]
public string JwkUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KeyId
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
.
Declaration
[JsonProperty("kid")]
public string KeyId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
X509Certificate
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
.
Declaration
[JsonProperty("x5c")]
public string X509Certificate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
X509Thumbprint
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
.
Declaration
[JsonProperty("x5t")]
public string X509Thumbprint { get; set; }
Property Value
Type | Description |
---|---|
System.String |
X509Url
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
.
Declaration
[JsonProperty("x5u")]
public string X509Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |