Package org.keycloak.jose.jwk
Class RSAPublicJWK
- java.lang.Object
-
- org.keycloak.jose.jwk.JWK
-
- org.keycloak.jose.jwk.RSAPublicJWK
-
public class RSAPublicJWK extends JWK
- Author:
- Stian Thorgersen
-
-
Field Summary
Fields Modifier and Type Field Description static StringMODULUSstatic StringPUBLIC_EXPONENTstatic StringRS256static StringRSA-
Fields inherited from class org.keycloak.jose.jwk.JWK
ALGORITHM, KEY_ID, KEY_TYPE, otherClaims, PUBLIC_KEY_USE
-
-
Constructor Summary
Constructors Constructor Description RSAPublicJWK()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetModulus()StringgetPublicExponent()StringgetSha1x509Thumbprint()StringgetSha256x509Thumbprint()String[]getX509CertificateChain()voidsetModulus(String modulus)voidsetPublicExponent(String publicExponent)voidsetX509CertificateChain(String[] x509CertificateChain)-
Methods inherited from class org.keycloak.jose.jwk.JWK
getAlgorithm, getKeyId, getKeyType, getOtherClaims, getPublicKeyUse, setAlgorithm, setKeyId, setKeyType, setOtherClaims, setPublicKeyUse
-
-
-
-
Field Detail
-
RSA
public static final String RSA
- See Also:
- Constant Field Values
-
RS256
public static final String RS256
- See Also:
- Constant Field Values
-
MODULUS
public static final String MODULUS
- See Also:
- Constant Field Values
-
PUBLIC_EXPONENT
public static final String PUBLIC_EXPONENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getModulus
public String getModulus()
-
setModulus
public void setModulus(String modulus)
-
getPublicExponent
public String getPublicExponent()
-
setPublicExponent
public void setPublicExponent(String publicExponent)
-
getX509CertificateChain
public String[] getX509CertificateChain()
-
setX509CertificateChain
public void setX509CertificateChain(String[] x509CertificateChain)
-
getSha1x509Thumbprint
public String getSha1x509Thumbprint()
-
getSha256x509Thumbprint
public String getSha256x509Thumbprint()
-
-