JsonWebKey Class
As defined in http://tools.ietf.org/html/draft-ietf-jose-json-web-key-18. All parameters are optional.
Constructor
JsonWebKey(**kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
kid
|
Key identifier. |
|
kty
|
Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40 |
|
key_ops
|
Allowed operations for the key |
|
n
|
RSA modulus. |
|
e
|
RSA public exponent. |
|
d
|
RSA private exponent, or the D component of an EC private key. |
|
dp
|
RSA private key parameter. |
|
dq
|
RSA private key parameter. |
|
qi
|
RSA private key parameter. |
|
p
|
RSA secret prime. |
|
q
|
RSA secret prime, with p < q. |
|
k
|
Symmetric key. |
|
t
|
HSM Token, used with 'Bring Your Own Key'. |
|
crv
|
KeyCurveName or
str
Elliptic curve name. |
|
x
|
X component of an EC public key. |
|
y
|
Y component of an EC public key. |