Token.Jose, Token.Jwt
Modifier and Type | Field and Description |
---|---|
static String |
ALGORITHM
The header short for algorithm.
|
static String |
TYP
The header short for token type.
|
Constructor and Description |
---|
Token.Jose(int bitlength)
JSON Object Signing and Encryption Header.
|
public static final String ALGORITHM
public static final String TYP
public Token.Jose(int bitlength)
bitlength
- Of encryption bits.public javax.json.JsonObject json()
Token
public byte[] encoded() throws IOException
Token
encoded
in interface Token
IOException
- If encoding failsCopyright © 2015–2017 Take. All rights reserved.