September 2002
Intermediate to advanced
416 pages
14h 46m
English
RSA
This class provides the RSA implementation
of the PublicKeyAlgorithm interface. It is used
only internally within the platform.
public class RSA implements jxta.security.publickey.PublicKeyAlgorithm { // Public Constructors public RSA(jxta.security.impl.publickey.RSAKey rKey) throws jxta.security.exceptions.CryptoException; // Methods Implementing PublicKeyAlgorithm public byte[ ] Algorithm(byte[ ] data, int offset, int length, byte type, boolean encrypt) throws jxta.security.exceptions.CryptoException; public int getEncryptionBlockLength(); public int getMaxInputDataBlockLength(); public Object getPrivatekey() throws jxta.security.exceptions.CryptoException; public Object getPublickey() throws jxta.security.exceptions.CryptoException; public void reset(); public void setPrivateKey() throws jxta.security.exceptions.CryptoException; public void setPrivateKey(Object privatekeyData) throws jxta.security.exceptions.CryptoException; public void setPublicKey() throws jxta.security.exceptions.CryptoException; public void setPublicKey(byte[ ] nModulus) throws jxta.security.exceptions.CryptoException; public void setPublicKey(Object publickeyData) throws jxta.security.exceptions.CryptoException; // Methods Implementing Description public void clearDebug(); public String getAlgorithmName(); public void setDebug(); }
Read now
Unlock full access