Interface JwtAccessKey
-
- All Superinterfaces:
JwtAuthorityKey
public interface JwtAccessKey extends JwtAuthorityKey
JWT key to encode access token.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.Key
getPrivateKey()
Obtains the privateKey
.java.security.Key
getPublicKey()
Obtains the publicKey
.-
Methods inherited from interface net.officefloor.web.jwt.authority.repository.JwtAuthorityKey
getExpireTime, getStartTime
-
-
-
-
Method Detail
-
getPrivateKey
java.security.Key getPrivateKey()
Obtains the privateKey
.- Returns:
- Private
Key
to sign the JWT.
-
getPublicKey
java.security.Key getPublicKey()
Obtains the public
Key
.While not used for encoding, is kept together to enable
JwtAuthorityRepository
to associate public/privateKey
instances forJwtAccessKey
toJwtValidateKey
relationships.- Returns:
- Public
Key
to validate the JWT.
-
-