Package org.keycloak.jose.jws
Class JWSInput
- java.lang.Object
-
- org.keycloak.jose.jws.JWSInput
-
- All Implemented Interfaces:
JOSE
public class JWSInput extends Object implements JOSE
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()StringgetEncodedContent()StringgetEncodedHeader()StringgetEncodedSignature()StringgetEncodedSignatureInput()JWSHeadergetHeader()Returns the JWT header.byte[]getSignature()StringgetWireString()StringreadContentAsString()<T> TreadJsonContent(Class<T> type)
-
-
-
Constructor Detail
-
JWSInput
public JWSInput(String wire) throws JWSInputException
- Throws:
JWSInputException
-
-
Method Detail
-
getWireString
public String getWireString()
-
getEncodedHeader
public String getEncodedHeader()
-
getEncodedContent
public String getEncodedContent()
-
getEncodedSignature
public String getEncodedSignature()
-
getEncodedSignatureInput
public String getEncodedSignatureInput()
-
getHeader
public JWSHeader getHeader()
Description copied from interface:JOSEReturns the JWT header.
-
getContent
public byte[] getContent()
-
getSignature
public byte[] getSignature()
-
readJsonContent
public <T> T readJsonContent(Class<T> type) throws JWSInputException
- Throws:
JWSInputException
-
readContentAsString
public String readContentAsString()
-
-