public class JWSBuilder extends Object
Modifier and Type | Class and Description |
---|---|
class |
JWSBuilder.EncodingBuilder |
Constructor and Description |
---|
JWSBuilder() |
JWSBuilder(javax.ws.rs.ext.Providers providers) |
Modifier and Type | Method and Description |
---|---|
JWSBuilder.EncodingBuilder |
content(byte[] bytes) |
JWSBuilder.EncodingBuilder |
content(Object object,
javax.ws.rs.core.MediaType marshalTo) |
JWSBuilder |
contentType(javax.ws.rs.core.MediaType type) |
JWSBuilder |
contentType(String type) |
protected String |
encode(Algorithm alg,
byte[] data,
byte[] signature) |
protected String |
encodeHeader(Algorithm alg) |
protected byte[] |
marshalContent() |
JWSBuilder |
type(String type) |
public JWSBuilder()
public JWSBuilder(javax.ws.rs.ext.Providers providers)
public JWSBuilder type(String type)
public JWSBuilder contentType(String type)
public JWSBuilder contentType(javax.ws.rs.core.MediaType type)
public JWSBuilder.EncodingBuilder content(byte[] bytes)
public JWSBuilder.EncodingBuilder content(Object object, javax.ws.rs.core.MediaType marshalTo)
protected byte[] marshalContent()
Copyright © 2020 JBoss by Red Hat. All rights reserved.