KeyProperties interface
索引鍵的屬性。
屬性
attributes | 索引鍵的屬性。 |
curve |
橢圓曲線名稱。 如需有效值,請參閱 JsonWebKeyCurveName。 |
key |
|
key |
金鑰的大小 (以位元為單位)。 例如:RSA 2048、3072 或 4096。 |
key |
要擷取目前金鑰版本的 URI。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
key |
要擷取特定金鑰版本的 URI。 注意:此屬性不會序列化。 它只能由伺服器填入。 |
kty | 索引鍵的類型。 如需有效值,請參閱 JsonWebKeyType。 |
release |
回應中的金鑰發行原則。 它將會用於輸出和輸入。 如果空白,則省略 |
rotation |
回應中的金鑰輪替原則。 它將會用於輸出和輸入。 如果空白,則省略 |
屬性詳細資料
attributes
curveName
橢圓曲線名稱。 如需有效值,請參閱 JsonWebKeyCurveName。
curveName?: string
屬性值
string
keyOps
keyOps?: string[]
屬性值
string[]
keySize
金鑰的大小 (以位元為單位)。 例如:RSA 2048、3072 或 4096。
keySize?: number
屬性值
number
keyUri
要擷取目前金鑰版本的 URI。 注意:此屬性不會序列化。 它只能由伺服器填入。
keyUri?: string
屬性值
string
keyUriWithVersion
要擷取特定金鑰版本的 URI。 注意:此屬性不會序列化。 它只能由伺服器填入。
keyUriWithVersion?: string
屬性值
string
kty
索引鍵的類型。 如需有效值,請參閱 JsonWebKeyType。
kty?: string
屬性值
string