sdsi
Class SDSIRSAPublicKey

java.lang.Object
  |
  +--sdsi.SDSIObject
        |
        +--sdsi.SDSIPrincipal
              |
              +--sdsi.SDSIPublicKey
                    |
                    +--sdsi.SDSIRSAPublicKey
All Implemented Interfaces:
xjava.security.interfaces.CryptixRSAPublicKey, java.security.Key, java.security.PublicKey, xjava.security.interfaces.RSAKey, java.security.interfaces.RSAKey, java.security.interfaces.RSAPublicKey, SequenceItem, java.io.Serializable, Subject

public class SDSIRSAPublicKey
extends SDSIPublicKey
implements java.security.interfaces.RSAPublicKey, xjava.security.interfaces.CryptixRSAPublicKey

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.PublicKey
serialVersionUID
 
Constructor Summary
SDSIRSAPublicKey(java.security.interfaces.RSAPublicKey k)
           
SDSIRSAPublicKey(SexpList l)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 java.math.BigInteger getExponent()
           
 java.math.BigInteger getModulus()
           
 java.math.BigInteger getPublicExponent()
           
 java.lang.String toShortString()
          Returns a short descriptive string representing this SDSIObject.
 
Methods inherited from class sdsi.SDSIPublicKey
create, getAbbreviation, getAlgID, getEncoded, getFormat, getType, getURI
 
Methods inherited from class sdsi.SDSIPrincipal
sameAs, samePrincipalAs
 
Methods inherited from class sdsi.SDSIObject
equals, getHash, getHash, getSrep, hashCode, principalParse, readFrom, readFrom, 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
 
Methods inherited from interface sdsi.SequenceItem
getSrep
 
Methods inherited from interface sdsi.Subject
getSrep
 

Field Detail

modulus

byte[] modulus

exponent

byte[] exponent
Constructor Detail

SDSIRSAPublicKey

public SDSIRSAPublicKey(SexpList l)
                 throws SexpParseException

SDSIRSAPublicKey

public SDSIRSAPublicKey(java.security.interfaces.RSAPublicKey k)
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key
Overrides:
getAlgorithm in class SDSIPublicKey

getModulus

public java.math.BigInteger getModulus()
Specified by:
getModulus in interface java.security.interfaces.RSAKey

getPublicExponent

public java.math.BigInteger getPublicExponent()
Specified by:
getPublicExponent in interface java.security.interfaces.RSAPublicKey

getExponent

public java.math.BigInteger getExponent()
Specified by:
getExponent in interface xjava.security.interfaces.RSAKey

toShortString

public java.lang.String toShortString()
Description copied from class: SDSIObject
Returns a short descriptive string representing this SDSIObject.

Specified by:
toShortString in interface Subject
Overrides:
toShortString in class SDSIPublicKey
Returns:
a short string description of this SDSIObject.