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 class sdsi.SDSIObject
_hash, _modified, srep
 
Fields inherited from interface java.security.PrivateKey
serialVersionUID
 
Constructor Summary
SDSIRSAPrivateKey(java.security.interfaces.RSAPrivateKey k)
           
SDSIRSAPrivateKey(SexpList l)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 java.math.BigInteger getExponent()
           
 java.math.BigInteger getModulus()
           
 java.math.BigInteger getPrivateExponent()
           
 
Methods inherited from class sdsi.SDSIPrivateKey
create, getAbbreviation, getEncoded, getFormat, getType, getURI, toShortString
 
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
 

Field Detail

modulus

byte[] modulus

exponent

byte[] exponent
Constructor Detail

SDSIRSAPrivateKey

public SDSIRSAPrivateKey(SexpList l)
                  throws SexpParseException

SDSIRSAPrivateKey

public SDSIRSAPrivateKey(java.security.interfaces.RSAPrivateKey k)
Method Detail

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