asymmetric
Class RSA

java.lang.Object
  extended by asymmetric.RSA

public class RSA
extends java.lang.Object

The Class represents a RSA keygenerator.

Author:
Dominik Heider

Constructor Summary
RSA()
          creates a secret key pair for the RSA algorithm.
 
Method Summary
 java.security.PrivateKey getPrivate()
           
 java.security.PublicKey getPublic()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSA

public RSA()
creates a secret key pair for the RSA algorithm.

Method Detail

getPrivate

public java.security.PrivateKey getPrivate()
Returns:
the Private Key

getPublic

public java.security.PublicKey getPublic()
Returns:
the Public Key