Module io.inverno.mod.security.jose
Class GenericRSAJWK.GenericOtherPrimeInfo
java.lang.Object
io.inverno.mod.security.jose.internal.jwk.rsa.GenericRSAJWK.GenericOtherPrimeInfo
- All Implemented Interfaces:
RSAJWK.OtherPrimeInfo
- Enclosing class:
- GenericRSAJWK
public static class GenericRSAJWK.GenericOtherPrimeInfo
extends Object
implements RSAJWK.OtherPrimeInfo
Generic RSAJWK.OtherPrimeInfo implementation.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Constructor Summary
ConstructorsConstructorDescriptionGenericOtherPrimeInfo(String r, String d, String t) Creates a generic other prime info. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the other prime info coefficient encoded as Base64URL.Returns the other prime info exponent encoded as Base64URL.Returns the other prime info prime factor encoded as Base64URL.inthashCode()
-
Constructor Details
-
GenericOtherPrimeInfo
Creates a generic other prime info.
- Parameters:
r- the prime factor encoded as Base64URL without paddingd- the factor CRT exponent encoded as Base64URL without paddingt- the factor CRT coefficient encoded as Base64URL without padding- Throws:
JWKProcessingException- if one of the parameter is null
-
-
Method Details
-
getPrimeFactor
Description copied from interface:RSAJWK.OtherPrimeInfoReturns the other prime info prime factor encoded as Base64URL.
- Specified by:
getPrimeFactorin interfaceRSAJWK.OtherPrimeInfo- Returns:
- the Base64URL encoded other prime info prime factor with no padding.
-
getExponent
Description copied from interface:RSAJWK.OtherPrimeInfoReturns the other prime info exponent encoded as Base64URL.
- Specified by:
getExponentin interfaceRSAJWK.OtherPrimeInfo- Returns:
- the Base64URL encoded other prime info exponent with no padding.
-
getCoefficient
Description copied from interface:RSAJWK.OtherPrimeInfoReturns the other prime info coefficient encoded as Base64URL.
- Specified by:
getCoefficientin interfaceRSAJWK.OtherPrimeInfo- Returns:
- the Base64URL encoded other prime info coefficient with no padding.
-
hashCode
public int hashCode() -
equals
-