de.flexiprovider.core.rsa
Class RSAPublicKeySpec

java.lang.Object
  |
  +--java.security.spec.RSAPublicKeySpec
        |
        +--de.flexiprovider.core.rsa.RSAPublicKeySpec
All Implemented Interfaces:
KeySpec, java.security.spec.KeySpec

public final class RSAPublicKeySpec
extends java.security.spec.RSAPublicKeySpec
implements KeySpec


Constructor Summary
RSAPublicKeySpec(java.math.BigInteger n, java.math.BigInteger e)
           
RSAPublicKeySpec(FlexiBigInt n, FlexiBigInt e)
           
RSAPublicKeySpec(java.security.spec.RSAPublicKeySpec keySpec)
          Create a new RSAPublicKeySpec out of the given RSAPublicKeySpec.
 
Method Summary
 FlexiBigInt getE()
           
 FlexiBigInt getN()
           
 
Methods inherited from class java.security.spec.RSAPublicKeySpec
getModulus, getPublicExponent
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPublicKeySpec

public RSAPublicKeySpec(java.math.BigInteger n,
                        java.math.BigInteger e)

RSAPublicKeySpec

public RSAPublicKeySpec(java.security.spec.RSAPublicKeySpec keySpec)
Create a new RSAPublicKeySpec out of the given RSAPublicKeySpec.
Parameters:
keySpec - the RSAPublicKeySpec

RSAPublicKeySpec

public RSAPublicKeySpec(FlexiBigInt n,
                        FlexiBigInt e)
Method Detail

getN

public FlexiBigInt getN()
Returns:
the modulus n

getE

public FlexiBigInt getE()
Returns:
the public exponent e