Constructor and Description |
---|
PrimesInfo(RSAOtherPrimeInfo info)
Create other prime factors.
|
PrimesInfo(String primeFactor,
String crtExponent,
String crtCoefficient)
Creates the other prime factors.
|
Modifier and Type | Method and Description |
---|---|
String |
getCRTCoefficient()
Get the factor CRT Coefficient, noted as "t".
|
String |
getCRTExponent()
Get the factor CRT Exponent, noted as "d".
|
String |
getPrimeFactor()
Get the prime factor, noted as "r".
|
static RsaJWK.PrimesInfo |
parse(JsonValue json)
Parses a PrimesInfo from a jsonValue Object.
|
JsonValue |
toJsonValue()
Returns a json representation of the other factors.
|
public PrimesInfo(String primeFactor, String crtExponent, String crtCoefficient)
primeFactor
- the prime factorcrtExponent
- the factor CRT ExponentcrtCoefficient
- the factor CRT Coefficientpublic PrimesInfo(RSAOtherPrimeInfo info)
info
- RSAOtherPrimeInfo used to create the other prime factors object.public String getPrimeFactor()
public String getCRTExponent()
public String getCRTCoefficient()
public JsonValue toJsonValue()
public static RsaJWK.PrimesInfo parse(JsonValue json)
json
- a jsonValue objectCopyright © 2010-2018, ForgeRock All Rights Reserved.