public class JwtKeyGenerator extends java.lang.Object implements KeyGenerator
| Constructor and Description |
|---|
JwtKeyGenerator(java.lang.String spec) |
| Modifier and Type | Method and Description |
|---|---|
static KeyExpression |
generateJwtKey(java.lang.String spec)
generate JWT key
|
KeyExpression |
generateKey() |
KeyExpression |
getKey(java.lang.String spec) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSpecpublic KeyExpression generateKey()
generateKey in interface KeyGeneratorpublic KeyExpression getKey(java.lang.String spec)
getKey in interface KeyGeneratorpublic static KeyExpression generateJwtKey(java.lang.String spec)
spec - eg: SignatureAlgorithm.HS512.getValue()