public class JWSInput extends Object
Constructor and Description |
---|
JWSInput(String wire) |
JWSInput(String wire,
javax.ws.rs.ext.Providers providers) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent() |
String |
getEncodedContent() |
String |
getEncodedHeader() |
String |
getEncodedSignature() |
String |
getEncodedSignatureInput() |
JWSHeader |
getHeader() |
byte[] |
getSignature() |
String |
getWireString() |
Object |
readContent(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
<T> T |
readContent(Class<T> type) |
String |
readContentAsString() |
<T> T |
readJsonContent(Class<T> type) |
boolean |
verify(String key) |
public JWSInput(String wire)
public JWSInput(String wire, javax.ws.rs.ext.Providers providers)
public String getWireString()
public String getEncodedHeader()
public String getEncodedContent()
public String getEncodedSignature()
public String getEncodedSignatureInput()
public JWSHeader getHeader()
public byte[] getContent()
public byte[] getSignature()
public boolean verify(String key)
public <T> T readJsonContent(Class<T> type) throws JWSInputException
JWSInputException
public String readContentAsString()
public <T> T readContent(Class<T> type)
public Object readContent(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
Copyright © 2021 JBoss by Red Hat. All rights reserved.