java.lang.Object
swim.security.KeyDef
swim.security.PrivateKeyDef
swim.security.RsaPrivateKeyDef
- All Implemented Interfaces:
RsaKeyDef
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BigInteger
protected final FingerTrieSeq<RsaPrimeDef>
protected final BigInteger
protected RSAPrivateKey
protected 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 TypeMethodDescriptionboolean
static Form<RsaPrivateKeyDef>
form()
static RsaPrivateKeyDef
from
(RSAPrivateKey key) int
hashCode()
key()
final BigInteger
modulus()
final FingerTrieSeq<RsaPrimeDef>
final BigInteger
final BigInteger
toValue()
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:
privateKey
in classPrivateKeyDef
-
key
-
toValue
-
equals
-
hashCode
public int hashCode() -
from
-
form
-