FileDocCategorySizeDatePackage
RSAPrivateKey.javaAPI DocphoneME MR2 API (J2ME)2140Wed May 02 18:00:24 BST 2007com.sun.midp.crypto

RSAPrivateKey

public final class RSAPrivateKey extends RSAKey implements PrivateKey
Specifies the RSA private key interface. An RSA key is not ready for us until both the modulus and exponent have been set.

Fields Summary
Constructors Summary
public RSAPrivateKey(byte[] modulus, byte[] exponent)
Constructor for RSA public key.

param
modulus modulus of key to process
param
exponent exponent the key

        super(modulus, 0, modulus.length, exponent, 0, exponent.length);
    
public RSAPrivateKey(byte[] modulus, int modOffset, int modLen, byte[] exponent, int expOffset, int expLen)
Constructor for RSA public key.

param
modulus modulus of key to process
param
modOffset offset of the modulus
param
modLen length of modulus in bytes
param
exponent exponent the key
param
expOffset offset of the exponent
param
expLen length of the exponent in bytes

        super(modulus, modOffset, modLen, exponent, expOffset, expLen);
    
Methods Summary