Name
RSA
Synopsis
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(); }
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.