Class JsonWebKey
A JSON Web Key that represents the public key used for verifying the JWT signature.
Inherited Members
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class JsonWebKey : StaticPublicKey
Properties
Alg
Declaration
[Required(ErrorMessage = "Alg is required.")]
[JsonProperty(PropertyName = "alg")]
public string Alg { get; set; }
Property Value
Type | Description |
---|---|
string | The algorithm intended for use with this key. |
Remarks
Required
E
Declaration
[Required(ErrorMessage = "E is required.")]
[JsonProperty(PropertyName = "e")]
public string E { get; set; }
Property Value
Type | Description |
---|---|
string | The base64 url encoded exponent of the RSA public key represented by this key. |
Remarks
Required
KeyOps
Declaration
[JsonProperty(PropertyName = "key_ops", ItemConverterType = typeof(ResponseEnumConverter))]
public List<JsonWebKey.KeyOpsEnum> KeyOps { get; set; }
Property Value
Type | Description |
---|---|
List<JsonWebKey.KeyOpsEnum> | The operations for which this key is to be used. |
Kty
Declaration
[Required(ErrorMessage = "Kty is required.")]
[JsonProperty(PropertyName = "kty")]
[JsonConverter(typeof(ResponseEnumConverter))]
public JsonWebKey.KtyEnum? Kty { get; set; }
Property Value
Type | Description |
---|---|
JsonWebKey.KtyEnum? | The key type. |
Remarks
Required
N
Declaration
[Required(ErrorMessage = "N is required.")]
[JsonProperty(PropertyName = "n")]
public string N { get; set; }
Property Value
Type | Description |
---|---|
string | The base64 url encoded modulus of the RSA public key represented by this key. |
Remarks
Required
Use
Declaration
[JsonProperty(PropertyName = "use")]
[JsonConverter(typeof(ResponseEnumConverter))]
public JsonWebKey.UseEnum? Use { get; set; }
Property Value
Type | Description |
---|---|
JsonWebKey.UseEnum? | The intended use of the public key. |