sdsi
Class SDSIRSAPrivateKey
java.lang.Object
|
+--sdsi.SDSIObject
|
+--sdsi.SDSIPrivateKey
|
+--sdsi.SDSIRSAPrivateKey
- All Implemented Interfaces:
- xjava.security.interfaces.CryptixRSAPrivateKey, java.security.Key, java.security.PrivateKey, xjava.security.interfaces.RSAKey, java.security.interfaces.RSAKey, java.security.interfaces.RSAPrivateKey, java.io.Serializable
- public class SDSIRSAPrivateKey
- extends SDSIPrivateKey
- implements java.security.interfaces.RSAPrivateKey, xjava.security.interfaces.CryptixRSAPrivateKey
- Author:
- Alexander Morcos, Sameer Ajmani
- See Also:
- Serialized Form
Field Summary |
(package private) byte[] |
exponent
|
(package private) byte[] |
modulus
|
Fields inherited from interface java.security.PrivateKey |
serialVersionUID |
Methods inherited from class sdsi.SDSIObject |
equals, getHash, getHash, getSrep, hashCode, principalParse, readFrom, readFrom, sameAs, sign, toReadableString, toString, writeCanonical, writeReadable |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Key |
getEncoded, getFormat |
modulus
byte[] modulus
exponent
byte[] exponent
SDSIRSAPrivateKey
public SDSIRSAPrivateKey(SexpList l)
throws SexpParseException
SDSIRSAPrivateKey
public SDSIRSAPrivateKey(java.security.interfaces.RSAPrivateKey k)
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interface java.security.Key
- Overrides:
getAlgorithm
in class SDSIPrivateKey
getModulus
public java.math.BigInteger getModulus()
- Specified by:
getModulus
in interface java.security.interfaces.RSAKey
getPrivateExponent
public java.math.BigInteger getPrivateExponent()
- Specified by:
getPrivateExponent
in interface java.security.interfaces.RSAPrivateKey
getExponent
public java.math.BigInteger getExponent()
- Specified by:
getExponent
in interface xjava.security.interfaces.RSAKey