Package org.jboss.resteasy.jose.jwe
Class JWEBuilder
- java.lang.Object
-
- org.jboss.resteasy.jose.jwe.JWEBuilder
-
public class JWEBuilder extends Object
Encrypt content. Default EncryptionMethod is A256CBC_HS512- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
JWEBuilder.EncryptionBuilder
-
Constructor Summary
Constructors Constructor Description JWEBuilder()
JWEBuilder(jakarta.ws.rs.ext.Providers providers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JWEBuilder.EncryptionBuilder
content(Object content)
JWEBuilder.EncryptionBuilder
content(Object content, jakarta.ws.rs.core.MediaType marshalTo)
JWEBuilder.EncryptionBuilder
contentBytes(byte[] bytes)
JWEBuilder
contentType(jakarta.ws.rs.core.MediaType type)
JWEBuilder
contentType(String type)
protected String
encodeHeader(Algorithm alg)
protected byte[]
marshalContent(Object content, jakarta.ws.rs.core.MediaType marshalTo)
JWEBuilder
type(String type)
-
-
-
Method Detail
-
type
public JWEBuilder type(String type)
-
contentType
public JWEBuilder contentType(String type)
-
contentType
public JWEBuilder contentType(jakarta.ws.rs.core.MediaType type)
-
contentBytes
public JWEBuilder.EncryptionBuilder contentBytes(byte[] bytes)
-
content
public JWEBuilder.EncryptionBuilder content(Object content)
-
content
public JWEBuilder.EncryptionBuilder content(Object content, jakarta.ws.rs.core.MediaType marshalTo)
-
marshalContent
protected byte[] marshalContent(Object content, jakarta.ws.rs.core.MediaType marshalTo)
-
-