de.flexiprovider.core.rsa.interfaces
Class RSAPublicKey

java.lang.Object
  |
  +--de.flexiprovider.api.keys.PublicKey
        |
        +--de.flexiprovider.core.rsa.interfaces.RSAPublicKey
All Implemented Interfaces:
Key, java.security.Key, java.security.PublicKey, RSAKey, java.security.interfaces.RSAKey, java.security.interfaces.RSAPublicKey, java.io.Serializable
Direct Known Subclasses:
RSAPublicKey

public abstract class RSAPublicKey
extends PublicKey
implements RSAKey, java.security.interfaces.RSAPublicKey

See Also:
Serialized Form

Fields inherited from interface java.security.PublicKey
serialVersionUID
 
Constructor Summary
RSAPublicKey()
           
 
Method Summary
 java.lang.String getAlgorithm()
           
abstract  FlexiBigInt getE()
           
 java.math.BigInteger getModulus()
           
 java.math.BigInteger getPublicExponent()
           
 
Methods inherited from class de.flexiprovider.api.keys.PublicKey
getAlgParams, getEncoded, getFormat, getKeyData, getOID
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.flexiprovider.core.rsa.interfaces.RSAKey
getN
 
Methods inherited from interface java.security.Key
getEncoded, getFormat
 

Constructor Detail

RSAPublicKey

public RSAPublicKey()
Method Detail

getModulus

public final java.math.BigInteger getModulus()
Specified by:
getModulus in interface java.security.interfaces.RSAKey
Returns:
the modulus n

getPublicExponent

public final java.math.BigInteger getPublicExponent()
Specified by:
getPublicExponent in interface java.security.interfaces.RSAPublicKey
Returns:
the public exponent e

getAlgorithm

public final java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key
Returns:
name of the algorithm - "RSA"

getE

public abstract FlexiBigInt getE()
Returns:
the public exponent e