Package org.wildfly.security.jose.jwk
Class JWK
- java.lang.Object
-
- org.wildfly.security.jose.jwk.JWK
-
- Direct Known Subclasses:
ECPublicJWK
,RSAPublicJWK
public class JWK extends Object
A class that represents a JSON Web Key.- Since:
- 1.14.0
- Author:
- Stian Thorgersen, Farah Juma
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JWK.Use
-
Constructor Summary
Constructors Constructor Description JWK()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
String
getKeyId()
String
getKeyType()
Map<String,Object>
getOtherClaims()
String
getPublicKeyUse()
void
setAlgorithm(String algorithm)
void
setKeyId(String keyId)
void
setKeyType(String keyType)
void
setOtherClaims(String name, Object value)
void
setPublicKeyUse(String publicKeyUse)
-
-
-
Field Detail
-
KEY_ID
public static final String KEY_ID
- See Also:
- Constant Field Values
-
KEY_TYPE
public static final String KEY_TYPE
- See Also:
- Constant Field Values
-
ALGORITHM
public static final String ALGORITHM
- See Also:
- Constant Field Values
-
PUBLIC_KEY_USE
public static final String PUBLIC_KEY_USE
- See Also:
- Constant Field Values
-
keyId
private String keyId
-
keyType
private String keyType
-
algorithm
private String algorithm
-
publicKeyUse
private String publicKeyUse
-
-
Method Detail
-
getKeyId
public String getKeyId()
-
setKeyId
public void setKeyId(String keyId)
-
getKeyType
public String getKeyType()
-
setKeyType
public void setKeyType(String keyType)
-
getAlgorithm
public String getAlgorithm()
-
setAlgorithm
public void setAlgorithm(String algorithm)
-
getPublicKeyUse
public String getPublicKeyUse()
-
setPublicKeyUse
public void setPublicKeyUse(String publicKeyUse)
-
-