Name
RSAPrivatekeyData
Synopsis
This interface represents the data
used to initialize an RSA private key. Instances of this object are
obtained from the getPrivatekey( )
method of the
PublicKeyAlgorithm
class for existing private
keys.
The JXTA
bindings do not define a mechanism that can store this data in a
secure location (such as on a Java card). In practice, the data could
be stored in serialized form, read in, and used to create the private
key by calling the setPrivatekey( )
method of the
PublicKeyAlgorithm
class.
Note that this
package does not contain a PrivatekeyData
interface.
public class RSAPrivatekeyData { // Public Constructors public RSAPrivatekeyData(jxta.security.publickey.RSAPrivateKey privKey); // Property Accessor Methods (by property name) public byte[ ] getCrtCoefficient(); public int getCrtCoefficientLength(); public byte[ ] getModulus(); public int getModulusLength(); public byte[ ] getPrimeExponentP(); public int getPrimeExponentPLength(); public byte[ ] getPrimeExponentQ(); public int getPrimeExponentQLength(); public byte[ ] getPrimeP(); public int getPrimePLength(); public byte[ ] getPrimeQ(); public int getPrimeQLength(); public byte[ ] getPrivateExponentD(); public int getprivateExponentDLength(); }
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.