public class JWSInput extends Object
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent() |
String |
getEncodedContent() |
String |
getEncodedHeader() |
String |
getEncodedSignature() |
String |
getEncodedSignatureInput() |
JWSHeader |
getHeader() |
byte[] |
getSignature() |
String |
getWireString() |
String |
readContentAsString() |
<T> T |
readJsonContent(Class<T> type) |
boolean |
verify(String key) |
public JWSInput(String wire) throws JWSInputException
JWSInputException
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()
Copyright © 2016 JBoss by Red Hat. All rights reserved.