Package org.jose4j.jwk
Class RsaJsonWebKey
java.lang.Object
org.jose4j.jwk.JsonWebKey
org.jose4j.jwk.PublicJsonWebKey
org.jose4j.jwk.RsaJsonWebKey
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jose4j.jwk.PublicJsonWebKey
PublicJsonWebKey.FactoryNested classes/interfaces inherited from class org.jose4j.jwk.JsonWebKey
JsonWebKey.OutputControlLevel -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.jose4j.jwk.PublicJsonWebKey
jcaProvider, privateKey, writeOutPrivateKeyToJson, X509_CERTIFICATE_CHAIN_PARAMETER, X509_SHA256_THUMBPRINT_PARAMETER, X509_THUMBPRINT_PARAMETER, X509_URL_PARAMETERFields inherited from class org.jose4j.jwk.JsonWebKey
ALGORITHM_PARAMETER, key, KEY_ID_PARAMETER, KEY_OPERATIONS, KEY_TYPE_PARAMETER, otherParameters, USE_PARAMETER -
Constructor Summary
ConstructorsConstructorDescriptionRsaJsonWebKey(RSAPublicKey publicKey) RsaJsonWebKey(Map<String, Object> params) RsaJsonWebKey(Map<String, Object> params, String jcaProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillPrivateTypeSpecificParams(Map<String, Object> params) protected voidfillPublicTypeSpecificParams(Map<String, Object> params) Deprecated.protected StringMethods inherited from class org.jose4j.jwk.PublicJsonWebKey
fillTypeSpecificParams, getCertificateChain, getLeafCertificate, getPrivateKey, getPublicKey, getX509CertificateSha1Thumbprint, getX509CertificateSha1Thumbprint, getX509CertificateSha256Thumbprint, getX509CertificateSha256Thumbprint, getX509Url, setCertificateChain, setCertificateChain, setPrivateKey, setWriteOutPrivateKeyToJson, setX509CertificateSha1Thumbprint, setX509CertificateSha256Thumbprint, setX509UrlMethods inherited from class org.jose4j.jwk.JsonWebKey
calculateBase64urlEncodedThumbprint, calculateThumbprint, calculateThumbprintUri, getAlgorithm, getKey, getKeyId, getKeyOps, getOtherParameterValue, getString, getString, getStringRequired, getUse, putIfNotNull, removeFromOtherParams, setAlgorithm, setKeyId, setKeyOps, setOtherParameter, setUse, toJson, toJson, toParams, toString
-
Field Details
-
MODULUS_MEMBER_NAME
- See Also:
-
EXPONENT_MEMBER_NAME
- See Also:
-
PRIVATE_EXPONENT_MEMBER_NAME
- See Also:
-
FIRST_PRIME_FACTOR_MEMBER_NAME
- See Also:
-
SECOND_PRIME_FACTOR_MEMBER_NAME
- See Also:
-
FIRST_FACTOR_CRT_EXPONENT_MEMBER_NAME
- See Also:
-
SECOND_FACTOR_CRT_EXPONENT_MEMBER_NAME
- See Also:
-
FIRST_CRT_COEFFICIENT_MEMBER_NAME
- See Also:
-
OTHER_PRIMES_INFO_MEMBER_NAME
- See Also:
-
PRIME_FACTOR_OTHER_MEMBER_NAME
- See Also:
-
FACTOR_CRT_EXPONENT_OTHER_MEMBER_NAME
- See Also:
-
FACTOR_CRT_COEFFICIENT
- See Also:
-
KEY_TYPE
- See Also:
-
-
Constructor Details
-
RsaJsonWebKey
-
RsaJsonWebKey
- Throws:
JoseException
-
RsaJsonWebKey
- Throws:
JoseException
-
-
Method Details
-
getKeyType
- Specified by:
getKeyTypein classJsonWebKey
-
getRsaPublicKey
-
getRSAPublicKey
Deprecated.deprecated in favor of the more consistently namedgetRsaPublicKey()- Returns:
- RSAPublicKey
-
getRsaPrivateKey
-
fillPublicTypeSpecificParams
- Specified by:
fillPublicTypeSpecificParamsin classPublicJsonWebKey
-
fillPrivateTypeSpecificParams
- Specified by:
fillPrivateTypeSpecificParamsin classPublicJsonWebKey
-
produceThumbprintHashInput
- Specified by:
produceThumbprintHashInputin classJsonWebKey
-
getRsaPublicKey()