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

RSAPublicKey

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

Fields Summary
Constructors Summary
public RSAPublicKey(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 RSAPublicKey(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