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

Constructor Index

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

Method Index

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

Constructors

 o RSAPublicKeyImpl
 public RSAPublicKeyImpl(RSAPublicKey key)
Create a new RSA publi key from other classes that implements java.security.interface.RSAPublicKey

 o RSAPublicKeyImpl
 public RSAPublicKeyImpl(BigInteger e,
                         BigInteger n)
Create a new RSA publi key from the given public exponent e and given modulus n.

Methods

 o getModulus
 public BigInteger getModulus()
returns the modulus of the RSA key

 o getExponent
 public BigInteger getExponent()
returns the exponent of the RSA key

 o getAlgorithm
 public String getAlgorithm()
returns the String "RSA"

 o getFormat
 public String getFormat()
returns the String "ASN1"

 o getEncoded
 public byte[] getEncoded()
returns the encoding.


All Packages  Class Hierarchy  This Package  Previous  Next  Index