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(); }
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access