Package org.smallmind.web.jwt
Class SymmetricJWTKeyMaster
- java.lang.Object
-
- org.smallmind.web.jwt.SymmetricJWTKeyMaster
-
- All Implemented Interfaces:
JWTKeyMaster
public class SymmetricJWTKeyMaster extends Object implements JWTKeyMaster
-
-
Constructor Summary
Constructors Constructor Description SymmetricJWTKeyMaster(String secret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JWTEncryptionAlgorithmgetEncryptionAlgorithm()KeygetKey()
-
-
-
Constructor Detail
-
SymmetricJWTKeyMaster
public SymmetricJWTKeyMaster(String secret)
-
-
Method Detail
-
getEncryptionAlgorithm
public JWTEncryptionAlgorithm getEncryptionAlgorithm()
- Specified by:
getEncryptionAlgorithmin interfaceJWTKeyMaster
-
getKey
public Key getKey()
- Specified by:
getKeyin interfaceJWTKeyMaster
-
-