Jwk
@iota/identity-wasm API documentation
Class: Jwk
JSON Web Key.
Methods
kty()
kty():
JwkType
Returns the value for the key type parameter (kty).
Returns
use()
use():
undefined
|JwkUse
Returns the value for the use property (use).
Returns
undefined
| JwkUse
alg()
alg():
undefined
|JwsAlgorithm
Returns the value for the algorithm property (alg).
Returns
undefined
| JwsAlgorithm
kid()
kid():
undefined
|string
Returns the value of the key ID property (kid).
Returns
undefined
| string
setKid()
setKid(
kid
):void
Sets a value for the key ID property (kid).
Parameters
kid
string
Returns
void
x5u()
x5u():
undefined
|string
Returns the value of the X.509 URL property (x5u).
Returns
undefined
| string
x5c()
x5c():
string
[]
Returns the value of the X.509 certificate chain property (x5c).
Returns
string
[]
x5t()
x5t():
undefined
|string
Returns the value of the X.509 certificate SHA-1 thumbprint property (x5t).
Returns
undefined
| string