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 interface java.security.PublicKey |
serialVersionUID |
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 |
modulus
byte[] modulus
exponent
byte[] exponent
SDSIRSAPublicKey
public SDSIRSAPublicKey(SexpList l)
throws SexpParseException
SDSIRSAPublicKey
public SDSIRSAPublicKey(java.security.interfaces.RSAPublicKey k)
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.