Class au.net.aba.crypto.provider.RSAPrivateKey
All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.crypto.provider.RSAPrivateKey
java.lang.Object
|
+----au.net.aba.crypto.provider.RSAPublicKey
|
+----au.net.aba.crypto.provider.RSAPrivateKey
- public class RSAPrivateKey
- extends RSAPublicKey
- implements PrivateKey
A class for ABA RSA private keys.
-
d
- The private exponent of this key.
-
dP
-
-
dQ
-
-
ident
-
-
p
- The larger of the two prime factors.
-
pMinus1
- p-1 [calculated].
-
q
- The smaller of the two prime factors.
-
qInv
- The multiplicative inverse of q % p [calculated].
-
qMinus1
- q-1 [calculated].
-
RSAPrivateKey()
- Construct an empty RSAPrivateKey.
-
RSAPrivateKey(KeySpec)
- Construct an empty RSAPrivateKey.
-
decrypt(BigInteger)
- Decrypt a data block with this key.
-
encrypt(BigInteger)
- Encrypt a data block with this key.
-
toString()
- Generate a String representation of this key.
ident
public final static String ident
d
protected BigInteger d
- The private exponent of this key.
p
protected BigInteger p
- The larger of the two prime factors.
q
protected BigInteger q
- The smaller of the two prime factors.
qInv
protected BigInteger qInv
- The multiplicative inverse of q % p [calculated].
pMinus1
protected BigInteger pMinus1
- p-1 [calculated].
qMinus1
protected BigInteger qMinus1
- q-1 [calculated].
dP
protected BigInteger dP
dQ
protected BigInteger dQ
RSAPrivateKey
public RSAPrivateKey()
- Construct an empty RSAPrivateKey.
RSAPrivateKey
public RSAPrivateKey(KeySpec keySpec)
- Construct an empty RSAPrivateKey.
toString
public String toString()
- Generate a String representation of this key.
- Returns:
- The key as a string.
- Overrides:
- toString in class RSAPublicKey
encrypt
protected BigInteger encrypt(BigInteger plainText)
- Encrypt a data block with this key.
- Parameters:
- plainText - The plain text block to encrypt.
- Returns:
- The encrypted data.
- Overrides:
- encrypt in class RSAPublicKey
decrypt
protected BigInteger decrypt(BigInteger cipherText)
- Decrypt a data block with this key.
- Parameters:
- cipherText - The cipher text block to decrypt.
- Returns:
- The decrypted data.
- Overrides:
- decrypt in class RSAPublicKey
All Packages Class Hierarchy This Package Previous Next Index