Name
RSAPublicKey
Synopsis
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; }
Implementations
jxta.security.impl.publickey.RSAKey
Passed To
jxta.security.impl.publickey.RSAKey.equals()
,
jxta.security.publickey.RSAPublicKey.equals()
,
RSAPublickeyData.RSAPublickeyData()
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.