Class OctetSequenceJsonWebKey
java.lang.Object
org.jose4j.jwk.JsonWebKey
org.jose4j.jwk.OctetSequenceJsonWebKey
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class JsonWebKey
JsonWebKey.Factory, JsonWebKey.OutputControlLevelModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
FieldsFields inherited from class JsonWebKey
ALGORITHM_PARAMETER, key, KEY_ID_PARAMETER, KEY_OPERATIONS, KEY_TYPE_PARAMETER, otherParameters, USE_PARAMETER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillTypeSpecificParams(Map<String, Object> params, JsonWebKey.OutputControlLevel outputLevel) byte[]protected StringMethods inherited from class JsonWebKey
calculateBase64urlEncodedThumbprint, calculateThumbprint, calculateThumbprintUri, getAlgorithm, getKey, getKeyId, getKeyOps, getOtherParameterValue, getPublicKey, getString, getString, getStringRequired, getUse, putIfNotNull, removeFromOtherParams, setAlgorithm, setKeyId, setKeyOps, setOtherParameter, setUse, toJson, toJson, toParams, toStringModifier and TypeMethodDescriptioncalculateBase64urlEncodedThumbprint(String hashAlgorithm) byte[]calculateThumbprint(String hashAlgorithm) calculateThumbprintUri(String hashAlgorithm) getKey()getKeyId()<T> TgetOtherParameterValue(String name, Class<T> type) Deprecated.protected static Stringprotected static Stringprotected static StringgetStringRequired(Map<String, Object> params, String name) getUse()protected voidprotected voidremoveFromOtherParams(String... names) voidsetAlgorithm(String algorithm) voidvoidvoidsetOtherParameter(String name, Object value) voidtoJson()toJson(JsonWebKey.OutputControlLevel outputLevel) toParams(JsonWebKey.OutputControlLevel outputLevel) toString()
-
Field Details
-
KEY_TYPE
- See Also:
-
KEY_VALUE_MEMBER_NAME
- See Also:
-
-
Constructor Details
-
OctetSequenceJsonWebKey
-
OctetSequenceJsonWebKey
- Throws:
JoseException
-
-
Method Details
-
getKeyType
- Specified by:
getKeyTypein classJsonWebKey
-
getOctetSequence
public byte[] getOctetSequence() -
fillTypeSpecificParams
protected void fillTypeSpecificParams(Map<String, Object> params, JsonWebKey.OutputControlLevel outputLevel) - Specified by:
fillTypeSpecificParamsin classJsonWebKey
-
produceThumbprintHashInput
- Specified by:
produceThumbprintHashInputin classJsonWebKey
-
JsonWebKey.getKey()orPublicJsonWebKey.getPublicKey()