JWTBuilder.generateDirectJWE
Generates Direct Encryption JSON Web Encryption (JWE) token to its compact format consisting of Base64URL-encoded parts delimited by period ('.') characters.
Content encryption class | JWE enc identifier | Key bitlength |
---|---|---|
AES/CBC/HMAC/SHA | A128CBC-HS256 | 256 |
A192CBC-HS384 | 384 | |
A256CBC-HS512 | 512 | |
AES/GCM | A128GCM | 128 |
A192GCM | 192 | |
A256GCM | 256 |
returns java.lang.String