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 SummaryAll 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- 
JWSInputpublic JWSInput(String wire) throws JWSInputException - Throws:
- JWSInputException
 
 
- 
 - 
Method Detail- 
getWireStringpublic String getWireString() 
 - 
getEncodedHeaderpublic String getEncodedHeader() 
 - 
getEncodedContentpublic String getEncodedContent() 
 - 
getEncodedSignaturepublic String getEncodedSignature() 
 - 
getEncodedSignatureInputpublic String getEncodedSignatureInput() 
 - 
getHeaderpublic JWSHeader getHeader() Description copied from interface:JOSEReturns the JWT header.
 - 
getContentpublic byte[] getContent() 
 - 
getSignaturepublic byte[] getSignature() 
 - 
readJsonContentpublic <T> T readJsonContent(Class<T> type) throws JWSInputException - Throws:
- JWSInputException
 
 - 
readContentAsStringpublic String readContentAsString() 
 
- 
 
-