Package org.forgerock.json.jose.jwk
Class RsaJWK.PrimesInfo
java.lang.Object
org.forgerock.json.jose.jwk.RsaJWK.PrimesInfo
- Enclosing class:
 - RsaJWK
 
Holds the other prime factors.
- 
Constructor Summary
ConstructorsConstructorDescriptionPrimesInfo(String primeFactor, String crtExponent, String crtCoefficient) Creates the other prime factors.PrimesInfo(RSAOtherPrimeInfo info) Create other prime factors. - 
Method Summary
Modifier and TypeMethodDescriptionGet the factor CRT Coefficient, noted as "t".Get the factor CRT Exponent, noted as "d".Get the prime factor, noted as "r".static RsaJWK.PrimesInfoParses a PrimesInfo from a jsonValue Object.Returns a json representation of the other factors. 
- 
Constructor Details
- 
PrimesInfo
Creates the other prime factors.- Parameters:
 primeFactor- the prime factorcrtExponent- the factor CRT ExponentcrtCoefficient- the factor CRT Coefficient
 - 
PrimesInfo
Create other prime factors.- Parameters:
 info- RSAOtherPrimeInfo used to create the other prime factors object.
 
 - 
 - 
Method Details
- 
getPrimeFactor
Get the prime factor, noted as "r".- Returns:
 - the the prime factor value
 
 - 
getCRTExponent
Get the factor CRT Exponent, noted as "d".- Returns:
 - the the factor CRT Exponent value.
 
 - 
getCRTCoefficient
Get the factor CRT Coefficient, noted as "t".- Returns:
 - the factor CRT Coefficient value
 
 - 
toJsonValue
Returns a json representation of the other factors.- Returns:
 - A JSON representation.
 
 - 
parse
Parses a PrimesInfo from a jsonValue Object.- Parameters:
 json- a jsonValue object- Returns:
 - a PrimesInfo
 
 
 -