java.lang.Object
swim.security.KeyDef
swim.security.PrivateKeyDef
swim.security.RsaPrivateKeyDef
- All Implemented Interfaces:
RsaKeyDef
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BigIntegerprotected final FingerTrieSeq<RsaPrimeDef>protected final BigIntegerprotected RSAPrivateKeyprotected final BigInteger -
Constructor Summary
ConstructorsConstructorDescriptionRsaPrivateKeyDef(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
Modifier and TypeMethodDescriptionbooleanstatic Form<RsaPrivateKeyDef>form()static RsaPrivateKeyDeffrom(RSAPrivateKey key) inthashCode()key()final BigIntegermodulus()final FingerTrieSeq<RsaPrimeDef>final BigIntegerfinal BigIntegertoValue()Methods inherited from class swim.security.PrivateKeyDef
from, privateKeyForm
-
Field Details
-
modulus
-
publicExponent
-
privateExponent
-
primeDefs
-
privateKey
-
-
Constructor Details
-
RsaPrivateKeyDef
public RsaPrivateKeyDef(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, FingerTrieSeq<RsaPrimeDef> primeDefs) -
RsaPrivateKeyDef
public RsaPrivateKeyDef(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, RsaPrimeDef... primeDefs) -
RsaPrivateKeyDef
-
-
Method Details
-
modulus
-
publicExponent
-
privateExponent
-
primeDefs
-
privateKey
- Specified by:
privateKeyin classPrivateKeyDef
-
key
-
toValue
-
equals
-
hashCode
public int hashCode() -
from
-
form
-