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_TYPE_PARAMETER, 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() |
getAlgorithm, getKey, getKeyId, getPublicKey, getString, getString, getStringRequired, getUse, putIfNotNull, setAlgorithm, setKeyId, setUse, toJson, toJson, toParams, toString
public 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
JoseException
public String getKeyType()
getKeyType
in class JsonWebKey
public byte[] getOctetSequence()
protected void fillTypeSpecificParams(Map<String,Object> params, JsonWebKey.OutputControlLevel outputLevel)
fillTypeSpecificParams
in class JsonWebKey
Copyright © 2015. All rights reserved.