| Constructor and Description |
|---|
DefaultJoseImpl(JoseConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String jwe)
Decrypt the encrypted data in the JWE compact or JSON (optional) format.
|
DecryptionOutput |
decryption(String jwe)
Decrypt the encrypted data in the JWE compact or JSON (optional) format.
|
String |
encrypt(EncryptionInput input)
Encrypt the data in the JWE compact or JSON (optional) format.
|
String |
encrypt(String data)
Encrypt the data in the JWE compact or JSON (optional) format..
|
String |
sign(SignatureInput input)
Sign the data in the JWS Compact or JSON (optional) format.
|
String |
sign(String data)
Sign the data in the JWS Compact or JSON (optional) format.
|
VerificationOutput |
verification(String jws)
Verify the signed data in the JWS compact or JSON (optional) format.
|
VerificationOutput |
verificationDetached(String jws,
String detachedData)
Verify the signed and detached data in the JWS compact or JSON (optional) format.
|
String |
verify(String jws)
Verify the signed data in the JWS compact or JSON (optional) format.
|
String |
verifyDetached(String jws,
String detachedData)
Verify the signed and detached data in the JWS compact or JSON (optional) format.
|
public DefaultJoseImpl(JoseConfiguration config)
public String sign(String data)
Josepublic String sign(SignatureInput input)
Josepublic String verify(String jws) throws JoseException
Joseverify in interface Josejws - the JWS sequence.JoseExceptionpublic VerificationOutput verification(String jws) throws JoseException
Joseverification in interface Josejws - the JWS sequence.JoseExceptionpublic String verifyDetached(String jws, String detachedData) throws JoseException
JoseverifyDetached in interface Josejws - the JWS sequence.detachedData - the signed and detached data.JoseExceptionpublic VerificationOutput verificationDetached(String jws, String detachedData) throws JoseException
JoseverificationDetached in interface Josejws - the JWS sequence.detachedData - the signed and detached data.JoseExceptionpublic String encrypt(String data)
Josepublic String encrypt(EncryptionInput input)
Josepublic String decrypt(String jwe) throws JoseException
Josedecrypt in interface Josejwe - the JWE sequence.JoseExceptionpublic DecryptionOutput decryption(String jwe) throws JoseException
Josedecryption in interface Josejwe - the JWE sequence.JoseExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.