Package | Description |
---|---|
org.soulwing.jwt.api | |
org.soulwing.jwt.api.exceptions |
Modifier and Type | Method and Description |
---|---|
String |
JWE.decrypt(String encoded)
Validates a JWE in Compact Serialization and extracts the encapsulated
payload.
|
String |
JWE.encrypt(String payload)
Creates a JWE in Compact Serialization encoding using the given payload.
|
String |
JWTGenerator.generate(Claims claims)
Generates a signed and optionally encrypted JWT.
|
Claims |
JWTValidator.validate(String encoded)
Validates a JWT.
|
Modifier and Type | Class and Description |
---|---|
class |
DecryptionKeyNotFoundException
An exception thrown when a decryption operation fails because the key
needed was not found.
|
Copyright © 2019. All rights reserved.