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.KeygetPrivateKey()Obtains the privateKey.java.security.KeygetPublicKey()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
Keyto sign the JWT.
-
getPublicKey
java.security.Key getPublicKey()
Obtains the public
Key.While not used for encoding, is kept together to enable
JwtAuthorityRepositoryto associate public/privateKeyinstances forJwtAccessKeytoJwtValidateKeyrelationships.- Returns:
- Public
Keyto validate the JWT.
-
-