public class OctetSequenceJsonWebKey extends JsonWebKey
JsonWebKey.Factory, JsonWebKey.OutputControlLevel| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_TYPE |
static String |
KEY_VALUE_MEMBER_NAME |
ALGORITHM_PARAMETER, key, KEY_ID_PARAMETER, KEY_OPERATIONS, KEY_TYPE_PARAMETER, otherParameters, USE_PARAMETER| Constructor and Description |
|---|
OctetSequenceJsonWebKey(Key key) |
OctetSequenceJsonWebKey(Map<String,Object> params) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillTypeSpecificParams(Map<String,Object> params,
JsonWebKey.OutputControlLevel outputLevel) |
String |
getKeyType() |
byte[] |
getOctetSequence() |
protected String |
produceThumbprintHashInput() |
calculateBase64urlEncodedThumbprint, calculateThumbprint, getAlgorithm, getKey, getKeyId, getKeyOps, getOtherParameterValue, getPublicKey, getString, getString, getStringRequired, getUse, putIfNotNull, removeFromOtherParams, setAlgorithm, setKeyId, setKeyOps, setOtherParameter, setUse, toJson, toJson, toParams, toStringpublic static final String KEY_TYPE
public static final String KEY_VALUE_MEMBER_NAME
public OctetSequenceJsonWebKey(Key key)
public OctetSequenceJsonWebKey(Map<String,Object> params) throws JoseException
JoseExceptionpublic String getKeyType()
getKeyType in class JsonWebKeypublic byte[] getOctetSequence()
protected void fillTypeSpecificParams(Map<String,Object> params, JsonWebKey.OutputControlLevel outputLevel)
fillTypeSpecificParams in class JsonWebKeyprotected String produceThumbprintHashInput()
produceThumbprintHashInput in class JsonWebKeyCopyright © 2019. All rights reserved.