@Immutable public static class RSAKey.OtherPrimesInfo extends Object implements Serializable
oth parameter of a
RSA JWK. This class is immutable.| Constructor and Description |
|---|
OtherPrimesInfo(Base64URL r,
Base64URL d,
Base64URL t)
Creates a new JWK Other Primes Info with the specified
parameters.
|
OtherPrimesInfo(RSAOtherPrimeInfo oth)
Creates a new JWK Other Primes Info from the specified
java.security.spec.RSAOtherPrimeInfo instance. |
| Modifier and Type | Method and Description |
|---|---|
Base64URL |
getFactorCRTCoefficient()
The factor Chinese Remainder Theorem (CRT) coefficient
(
t). |
Base64URL |
getFactorCRTExponent()
Gets factor Chinese Remainder Theorem (CRT) exponent
(
d). |
Base64URL |
getPrimeFactor()
Gets the prime factor (
r). |
static List<RSAKey.OtherPrimesInfo> |
toList(RSAOtherPrimeInfo[] othArray)
Converts the specified array of
java.security.spec.RSAOtherPrimeInfo instances to a
list of JWK Other Prime Infos. |
public OtherPrimesInfo(Base64URL r, Base64URL d, Base64URL t)
r - The prime factor. Must not be null.d - The factor Chinese Remainder Theorem (CRT)
exponent. Must not be null.t - The factor Chinese Remainder Theorem (CRT)
coefficient. Must not be null.public OtherPrimesInfo(RSAOtherPrimeInfo oth)
java.security.spec.RSAOtherPrimeInfo instance.oth - The RSA Other Primes Info instance. Must not be
null.public Base64URL getPrimeFactor()
r).public Base64URL getFactorCRTExponent()
d).public Base64URL getFactorCRTCoefficient()
t).public static List<RSAKey.OtherPrimesInfo> toList(RSAOtherPrimeInfo[] othArray)
java.security.spec.RSAOtherPrimeInfo instances to a
list of JWK Other Prime Infos.othArray - Array of RSA Other Primes Info instances.
May be be null.null.Copyright © 2017 Connect2id Ltd.. All rights reserved.