org.keycloak.jose.jws

## Class JWSInput

- java.lang.Object
- - org.keycloak.jose.jws.JWSInput

-     public class JWSInput
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JWSInput(String wire)`

  - ### Method Summary

    Methods
    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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JWSInput

          public JWSInput(String wire)

  - ### 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()

    - #### getContent

          public byte[] getContent()

    - #### getSignature

          public byte[] getSignature()

    - #### readJsonContent

          public <T> T readJsonContent(Class<T> type)
                            throws IOException

      Throws:
        `IOException`

    - #### readContentAsString

          public String readContentAsString()

Copyright © 2015. All Rights Reserved.