Package com.google.api.client.json.webtoken (1.43.2)

Classes

DerEncoder

Utilities for re-encoding a signature byte array with DER encoding.

Note: that this is not a general purpose encoder and currently only handles 512 bit signatures. ES256 verification algorithms expect the signature bytes in DER encoding.

JsonWebSignature

JSON Web Signature(JWS).

Sample usage:

public static void printPayload(JsonFactory jsonFactory, String tokenString) throws IOException { JsonWebSignature jws = JsonWebSignature.parse(jsonFactory, tokenString); System.out.println(jws.getPayload()); }

Implementation is not thread-safe.

JsonWebSignature.Header

Header as specified in Reserved Header Parameter Names.

JsonWebSignature.Parser

JWS parser.

Implementation is not thread-safe.

JsonWebToken

JSON Web Token (JWT).

Implementation is not thread-safe.

JsonWebToken.Header

Header as specified in JWT Header.

JsonWebToken.Payload

Payload as specified in Reserved Claim Names.