|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.motorola.iden.crypto.RSA_PrivateKey
This class provides the RSA Private Key.
MOTOROLA and the Stylized M Logo are registered trademarks of Motorola, Inc. Reg. U.S. Pat. & Tm. Off.
[CipherSpi]
Constructor Summary | |
RSA_PrivateKey(byte[] n,
byte[] d,
byte[] p,
byte[] q)
Initialize RSA_PrivateKey. |
Method Summary | |
byte[] |
get_d()
Return the exponent |
byte[] |
get_n()
Return the modulus |
byte[] |
get_p()
Return the prime 1 |
byte[] |
get_q()
Return the prime 2 |
java.lang.String |
getAlgorithm()
Return the algorithm name "RSA_PrivateKey"; |
byte[] |
getEncoded()
Return null. |
java.lang.String |
getFormat()
Return "RAW" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RSA_PrivateKey(byte[] n, byte[] d, byte[] p, byte[] q)
Method Detail |
public java.lang.String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public byte[] get_n()
public byte[] get_d()
public byte[] get_p()
public byte[] get_q()
public java.lang.String getFormat()
getFormat
in interface Key
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |