Class JsonWebKeyConfiguration
JWK configuration for private key when using OAuth strategy.
Inheritance
Inherited Members
Namespace: Okta.Sdk.Configuration
Assembly: Okta.Sdk.dll
Syntax
public class JsonWebKeyConfiguration
Constructors
JsonWebKeyConfiguration()
Initializes a new instance of the JsonWebKeyConfiguration class.
Declaration
public JsonWebKeyConfiguration()
JsonWebKeyConfiguration(String)
Initializes a new instance of the JsonWebKeyConfiguration class.
Declaration
public JsonWebKeyConfiguration(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | The private key in json format. |
Properties
Crv
Gets or sets the elliptic curve field and equation used
Declaration
[JsonProperty("crv")]
public string Crv { get; set; }
Property Value
Type | Description |
---|---|
System.String |
D
Gets or sets the 'd' parameter. EC Private Key or RSA Private Exponent.
Declaration
[JsonProperty("d")]
public string D { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Dp
Gets or sets the RSA exponent 'dp'
Declaration
[JsonProperty("dp")]
public string Dp { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Dq
Gets or sets the RSA exponent 'dq'
Declaration
[JsonProperty("dq")]
public string Dq { get; set; }
Property Value
Type | Description |
---|---|
System.String |
E
Gets or sets the RSA public exponent
Declaration
[JsonProperty("e")]
public string E { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kid
Gets or sets the key id. Optional.
Declaration
[JsonProperty("kid")]
public string Kid { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kty
Gets or sets the key type.
Declaration
[JsonProperty("kty")]
public string Kty { get; set; }
Property Value
Type | Description |
---|---|
System.String |
N
Gets or sets the RSA modulus
Declaration
[JsonProperty("n")]
public string N { get; set; }
Property Value
Type | Description |
---|---|
System.String |
P
Gets or sets the RSA secret prime 'p'
Declaration
[JsonProperty("p")]
public string P { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Q
Gets or sets the RSA secret prime 'q'
Declaration
[JsonProperty("q")]
public string Q { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Qi
Gets or sets the RSA 'qi' parameter.
Declaration
[JsonProperty("qi")]
public string Qi { get; set; }
Property Value
Type | Description |
---|---|
System.String |
X
Gets or sets the 'x' coordinate for the elliptic curve point
Declaration
[JsonProperty("x")]
public string X { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Y
Gets or sets the 'y' coordinate for the elliptic curve point
Declaration
[JsonProperty("y")]
public string Y { get; set; }
Property Value
Type | Description |
---|---|
System.String |