你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JsonWebKey interface
属性
crv | 椭圆曲线名称。 有关有效值,请参阅 KeyCurveName。 可能的值包括:“P-256”、“P-384”、“P-521”、“P-256K” |
d | RSA 专用指数或 EC 私钥的 D 组件。 |
dp | RSA 私钥参数。 |
dq | RSA 私钥参数。 |
e | RSA 公共指数。 |
k | 对称密钥。 |
key |
Json Web 密钥作。 有关可能的密钥作的详细信息,请参阅 KeyOperation。 |
kid | 密钥标识符。 |
kty | jsonWebKey 键类型(kty),如 https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40中定义。 可能的值包括:“EC”、“EC-HSM”、“RSA”、“RSA-HSM”、“oct”、“oct-HSM” |
n | RSA 模数。 |
p | RSA 秘密黄金。 |
q | RSA 秘密黄金, 与 |
qi | RSA 私钥参数。 |
t | HSM 令牌,与“自带密钥”一起使用。 |
x | EC 公钥的 X 组件。 |
y | EC 公钥的 Y 组件。 |
属性详细信息
crv
椭圆曲线名称。 有关有效值,请参阅 KeyCurveName。 可能的值包括:“P-256”、“P-384”、“P-521”、“P-256K”
crv?: string
属性值
string
d
RSA 专用指数或 EC 私钥的 D 组件。
d?: Uint8Array
属性值
Uint8Array
dp
RSA 私钥参数。
dp?: Uint8Array
属性值
Uint8Array
dq
RSA 私钥参数。
dq?: Uint8Array
属性值
Uint8Array
e
RSA 公共指数。
e?: Uint8Array
属性值
Uint8Array
k
对称密钥。
k?: Uint8Array
属性值
Uint8Array
keyOps
Json Web 密钥作。 有关可能的密钥作的详细信息,请参阅 KeyOperation。
keyOps?: string[]
属性值
string[]
kid
密钥标识符。
kid?: string
属性值
string
kty
jsonWebKey 键类型(kty),如 https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40中定义。 可能的值包括:“EC”、“EC-HSM”、“RSA”、“RSA-HSM”、“oct”、“oct-HSM”
kty?: string
属性值
string
n
RSA 模数。
n?: Uint8Array
属性值
Uint8Array
p
RSA 秘密黄金。
p?: Uint8Array
属性值
Uint8Array
q
RSA 秘密黄金, 与 p < q
.
q?: Uint8Array
属性值
Uint8Array
qi
RSA 私钥参数。
qi?: Uint8Array
属性值
Uint8Array
t
HSM 令牌,与“自带密钥”一起使用。
t?: Uint8Array
属性值
Uint8Array
x
EC 公钥的 X 组件。
x?: Uint8Array
属性值
Uint8Array
y
EC 公钥的 Y 组件。
y?: Uint8Array
属性值
Uint8Array