Class OTokenSignImpl
java.lang.Object
com.orientechnologies.orient.core.security.OTokenSignImpl
- All Implemented Interfaces:
OTokenSign
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOTokenSignImpl(byte[] key, String algorithm) OTokenSignImpl(OContextConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionString[]getKeys()static byte[]byte[]signToken(OTokenHeader header, byte[] unsignedToken) booleanverifyTokenSign(OParsedToken parsed)
-
Field Details
-
ENCRYPTION_ALGORITHM_DEFAULT
- See Also:
-
-
Constructor Details
-
OTokenSignImpl
-
OTokenSignImpl
-
-
Method Details
-
signToken
- Specified by:
signTokenin interfaceOTokenSign
-
verifyTokenSign
- Specified by:
verifyTokenSignin interfaceOTokenSign
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceOTokenSign
-
getDefaultKey
- Specified by:
getDefaultKeyin interfaceOTokenSign
-
getKeys
- Specified by:
getKeysin interfaceOTokenSign
-
readKeyFromConfig
-