Interface JwsAlgorithms


public interface JwsAlgorithms
The cryptographic algorithms defined by the JSON Web Algorithms (JWA) specification and used by JSON Web Signature (JWS) to digitally sign or create a MAC of the contents of the JWS Protected Header and JWS Payload.
Since:
5.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    ECDSA using P-256 and SHA-256 (Recommended+)
    static final String
    ECDSA using P-384 and SHA-384 (Optional)
    static final String
    ECDSA using P-521 and SHA-512 (Optional)
    static final String
    HMAC using SHA-256 (Required)
    static final String
    HMAC using SHA-384 (Optional)
    static final String
    HMAC using SHA-512 (Optional)
    static final String
    RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (Optional)
    static final String
    RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (Optional)
    static final String
    RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (Optional)
    static final String
    RSASSA-PKCS1-v1_5 using SHA-256 (Recommended)
    static final String
    RSASSA-PKCS1-v1_5 using SHA-384 (Optional)
    static final String
    RSASSA-PKCS1-v1_5 using SHA-512 (Optional)