Package org.wildfly.security.jose.jwk
Class RSAPublicJWK
- java.lang.Object
-
- org.wildfly.security.jose.jwk.JWK
-
- org.wildfly.security.jose.jwk.RSAPublicJWK
-
public class RSAPublicJWK extends JWK
- Author:
- Stian Thorgersen
-
-
Field Summary
Fields Modifier and Type Field Description private String
modulus
static String
MODULUS
static String
PUBLIC_EXPONENT
private String
publicExponent
static String
RS256
static String
RSA
private String
sha1x509Thumbprint
private String
sha256x509Thumbprint
private String[]
x509CertificateChain
-
Fields inherited from class org.wildfly.security.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 String
getModulus()
String
getPublicExponent()
String
getSha1x509Thumbprint()
String
getSha256x509Thumbprint()
String[]
getX509CertificateChain()
void
setModulus(String modulus)
void
setPublicExponent(String publicExponent)
void
setX509CertificateChain(String[] x509CertificateChain)
-
Methods inherited from class org.wildfly.security.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
-
modulus
private String modulus
-
publicExponent
private String publicExponent
-
x509CertificateChain
private String[] x509CertificateChain
-
sha1x509Thumbprint
private String sha1x509Thumbprint
-
sha256x509Thumbprint
private String sha256x509Thumbprint
-
-
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()
-
-