KnownSignatureAlgorithms enum
签名/验证算法标识符。 有关可能的算法类型的详细信息,请参阅 JsonWebKeySignatureAlgorithm。
字段
ES256 | 使用 P-256 和 SHA-256 的 ECDSA,如 https://tools.ietf.org/html/rfc7518中所述。 |
ES256K | 使用 P-256K 和 SHA-256 的 ECDSA,如 https://tools.ietf.org/html/rfc7518 中所述 |
ES384 | 使用 P-384 和 SHA-384 的 ECDSA,如 https://tools.ietf.org/html/rfc7518 |
ES512 | 使用 P-521 和 SHA-512 的 ECDSA,如 https://tools.ietf.org/html/rfc7518 |
HS256 | 使用 SHA-256 的 HMAC,如 https://tools.ietf.org/html/rfc7518 中所述 |
HS384 | 使用 SHA-384 的 HMAC,如 https://tools.ietf.org/html/rfc7518 中所述 |
HS512 | 使用 SHA-512 的 HMAC,如 https://tools.ietf.org/html/rfc7518 中所述 |
PS256 | RSASSA-PSS 将 SHA-256 和 MGF1 与 SHA-256 配合使用,如 https://tools.ietf.org/html/rfc7518 |
PS384 | RSASSA-PSS 将 SHA-384 和 MGF1 与 SHA-384 配合使用,如 https://tools.ietf.org/html/rfc7518 中所述 |
PS512 | RSASSA-PSS 将 SHA-512 和 MGF1 与 SHA-512 配合使用,如 https://tools.ietf.org/html/rfc7518 |
RS256 | 使用 SHA-256 的 RSASSA-PKCS1-v1_5,如 https://tools.ietf.org/html/rfc7518 中所述 |
RS384 | 使用 SHA-384 的 RSASSA-PKCS1-v1_5,如 https://tools.ietf.org/html/rfc7518 中所述 |
RS512 | 使用 SHA-512 的 RSASSA-PKCS1-v1_5,如 https://tools.ietf.org/html/rfc7518 |
Rsnull | 保留 |