September 2002
Intermediate to advanced
416 pages
14h 46m
English
RSAPublicKey
This defines the interface for public keys that implement the RSA algorithm. Although this interface contains methods that can affect the state of the key, programmers should treat RSA keys as opaque objects (unless, of course, they are implementing the RSA key classes).
public interface RSAPublicKey extends jxta.security.cipher.Key { // Public Constants public static final String name; // ="RSA PublicKey” // Public Instance Methods public abstract boolean equals(jxta.security.publickey.RSAPublicKey key); public abstract int getModulus(byte[ ] modulus, int offset); public abstract int getModulusLength(); public abstract int getPublicExponent(byte[ ] exponent, int offset); public abstract int getPublicExponentLength(); public abstract void setModulus(byte[ ] modulus, int offset, int length) throws jxta.security.exceptions.CryptoException; public abstract void setPublicExponent(byte[ ] exponent, int offset, int length) throws jxta.security.exceptions.CryptoException; }
jxta.security.impl.publickey.RSAKey
jxta.security.impl.publickey.RSAKey.equals(),
jxta.security.publickey.RSAPublicKey.equals(),
RSAPublickeyData.RSAPublickeyData()
Read now
Unlock full access