- java.lang.Object
-
- swim.security.KeyDef
-
- swim.security.PrivateKeyDef
-
- swim.security.RsaPrivateKeyDef
-
- All Implemented Interfaces:
RsaKeyDef
public class RsaPrivateKeyDef extends PrivateKeyDef implements RsaKeyDef
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegermodulusprotected FingerTrieSeq<RsaPrimeDef>primeDefsprotected BigIntegerprivateExponentprotected RSAPrivateKeyprivateKeyprotected BigIntegerpublicExponent
-
Constructor Summary
Constructors Constructor Description RsaPrivateKeyDef(BigInteger modulus, BigInteger privateExponent)RsaPrivateKeyDef(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, FingerTrieSeq<RsaPrimeDef> primeDefs)RsaPrivateKeyDef(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, RsaPrimeDef... primeDefs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)static Form<RsaPrivateKeyDef>form()static RsaPrivateKeyDeffrom(RSAPrivateKey key)inthashCode()Keykey()BigIntegermodulus()FingerTrieSeq<RsaPrimeDef>primeDefs()BigIntegerprivateExponent()RSAPrivateKeyprivateKey()BigIntegerpublicExponent()ValuetoValue()-
Methods inherited from class swim.security.PrivateKeyDef
from, privateKeyForm
-
-
-
-
Field Detail
-
modulus
protected final BigInteger modulus
-
publicExponent
protected final BigInteger publicExponent
-
privateExponent
protected final BigInteger privateExponent
-
primeDefs
protected final FingerTrieSeq<RsaPrimeDef> primeDefs
-
privateKey
protected RSAPrivateKey privateKey
-
-
Constructor Detail
-
RsaPrivateKeyDef
public RsaPrivateKeyDef(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, FingerTrieSeq<RsaPrimeDef> primeDefs)
-
RsaPrivateKeyDef
public RsaPrivateKeyDef(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, RsaPrimeDef... primeDefs)
-
RsaPrivateKeyDef
public RsaPrivateKeyDef(BigInteger modulus, BigInteger privateExponent)
-
-
Method Detail
-
modulus
public final BigInteger modulus()
-
publicExponent
public final BigInteger publicExponent()
-
privateExponent
public final BigInteger privateExponent()
-
primeDefs
public final FingerTrieSeq<RsaPrimeDef> primeDefs()
-
privateKey
public RSAPrivateKey privateKey()
- Specified by:
privateKeyin classPrivateKeyDef
-
toValue
public Value toValue()
-
from
public static RsaPrivateKeyDef from(RSAPrivateKey key)
-
form
@Kind public static Form<RsaPrivateKeyDef> form()
-
-