public interface Jose
| 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. 
 | 
String sign(String data) throws JoseException
data - the data to be signedJoseExceptionString sign(SignatureInput input) throws JoseException
input - the data and optional JWS headers which have to be integrity-protectedJoseExceptionString verify(String jws) throws JoseException
jws - the JWS sequence.JoseExceptionVerificationOutput verification(String jws) throws JoseException
jws - the JWS sequence.JoseExceptionString verifyDetached(String jws, String detachedData) throws JoseException
jws - the JWS sequence.detachedData - the signed and detached data.JoseExceptionVerificationOutput verificationDetached(String jws, String detachedData) throws JoseException
jws - the JWS sequence.detachedData - the signed and detached data.JoseExceptionString encrypt(String data) throws JoseException
data - the data to be encryptedJoseExceptionString encrypt(EncryptionInput input) throws JoseException
input - the data and optional metadata which have to be encrypted and integrity-protectedJoseExceptionString decrypt(String jwe) throws JoseException
jwe - the JWE sequence.JoseExceptionDecryptionOutput decryption(String jwe) throws JoseException
jwe - the JWE sequence.JoseExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.