    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.crypto.us.dsig.RSAPublicKeyImpl

    java.lang.Object
       |
       +----w3c.crypto.us.dsig.RSAPublicKeyImpl

public class RSAPublicKeyImpl
extends Object
implements RSAPublicKey

##

RSAPublicKeyImpl(BigInteger, BigInteger)
  Create a new RSA publi key from the given public exponent e and given modulus n.
RSAPublicKeyImpl(RSAPublicKey)
  Create a new RSA publi key from other classes that implements java.security.interface.RSAPublicKey

##

getAlgorithm()
  returns the String "RSA"
getEncoded()
  returns the encoding.
getExponent()
  returns the exponent of the RSA key
getFormat()
  returns the String "ASN1"
getModulus()
  returns the modulus of the RSA key

##

RSAPublicKeyImpl

     public RSAPublicKeyImpl(RSAPublicKey key)

  Create a new RSA publi key from other classes that implements java.security.interface.RSAPublicKey

RSAPublicKeyImpl

     public RSAPublicKeyImpl(BigInteger e,
                             BigInteger n)

  Create a new RSA publi key from the given public exponent e and given modulus n.

##

getModulus

     public BigInteger getModulus()

  returns the modulus of the RSA key

getExponent

     public BigInteger getExponent()

  returns the exponent of the RSA key

getAlgorithm

     public String getAlgorithm()

  returns the String "RSA"

getFormat

     public String getFormat()

  returns the String "ASN1"

getEncoded

     public byte[] getEncoded()

  returns the encoding.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index