public class JWSBuilder extends Object
Modifier and Type | Class and Description |
---|---|
class |
JWSBuilder.EncodingBuilder |
Constructor and Description |
---|
JWSBuilder() |
Modifier and Type | Method and Description |
---|---|
JWSBuilder.EncodingBuilder |
content(byte[] bytes) |
JWSBuilder |
contentType(String type) |
protected void |
encode(Algorithm alg,
byte[] data,
StringBuffer encoding) |
protected String |
encodeAll(StringBuffer encoding,
byte[] signature) |
protected String |
encodeHeader(Algorithm alg) |
JWSBuilder.EncodingBuilder |
jsonContent(Object object) |
protected byte[] |
marshalContent() |
JWSBuilder |
type(String type) |
public JWSBuilder type(String type)
public JWSBuilder contentType(String type)
public JWSBuilder.EncodingBuilder content(byte[] bytes)
public JWSBuilder.EncodingBuilder jsonContent(Object object)
protected String encodeAll(StringBuffer encoding, byte[] signature)
protected void encode(Algorithm alg, byte[] data, StringBuffer encoding)
protected byte[] marshalContent()
Copyright © 2016 JBoss by Red Hat. All rights reserved.