Package io.trino.server.security.jwt
Class JwkDecoder.JwkRsaPublicKey
- java.lang.Object
-
- io.trino.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 StringgetAlgorithm()byte[]getEncoded()StringgetFormat()StringgetKeyId()BigIntegergetModulus()BigIntegergetPublicExponent()
-
-
-
Constructor Detail
-
JwkRsaPublicKey
public JwkRsaPublicKey(String keyId, BigInteger exponent, BigInteger modulus)
-
-
Method Detail
-
getKeyId
public String getKeyId()
- Specified by:
getKeyIdin interfaceJwkDecoder.JwkPublicKey
-
getModulus
public BigInteger getModulus()
- Specified by:
getModulusin interfaceRSAKey
-
getPublicExponent
public BigInteger getPublicExponent()
- Specified by:
getPublicExponentin interfaceRSAPublicKey
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
-