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