Package io.prestosql.server.security.jwt
Class JwkDecoder.JwkRsaPublicKey
- java.lang.Object
-
- io.prestosql.server.security.jwt.JwkDecoder.JwkRsaPublicKey
-
- All Implemented Interfaces:
JwkDecoder.JwkPublicKey
,Serializable
,RSAKey
,RSAPublicKey
,Key
,PublicKey
- Enclosing class:
- JwkDecoder
public static class JwkDecoder.JwkRsaPublicKey extends Object implements JwkDecoder.JwkPublicKey, RSAPublicKey
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface java.security.PublicKey
serialVersionUID
-
Fields inherited from interface java.security.interfaces.RSAPublicKey
serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description JwkRsaPublicKey(String keyId, BigInteger exponent, BigInteger modulus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
String
getKeyId()
BigInteger
getModulus()
BigInteger
getPublicExponent()
-
-
-
Constructor Detail
-
JwkRsaPublicKey
public JwkRsaPublicKey(String keyId, BigInteger exponent, BigInteger modulus)
-
-
Method Detail
-
getKeyId
public String getKeyId()
- Specified by:
getKeyId
in interfaceJwkDecoder.JwkPublicKey
-
getModulus
public BigInteger getModulus()
- Specified by:
getModulus
in interfaceRSAKey
-
getPublicExponent
public BigInteger getPublicExponent()
- Specified by:
getPublicExponent
in interfaceRSAPublicKey
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
-