part2
Interface RSAKeyPair

All Known Implementing Classes:
CRTRSAKeyGenerator, SimpleRSAKeyGenerator

public interface RSAKeyPair

An interface defining the methods required of an RSA key-pair.


Method Summary
 RSAPrivateKey getPrivate()
          A method to return the private key of an RSA key-pair.
 RSAPublicKey getPublic()
          A method to return the public key of an RSA key-pair.
 

Method Detail

getPublic

public RSAPublicKey getPublic()
                       throws java.lang.Exception
A method to return the public key of an RSA key-pair.

Throws:
Exception.
java.lang.Exception

getPrivate

public RSAPrivateKey getPrivate()
                         throws java.lang.Exception
A method to return the private key of an RSA key-pair.

Throws:
Exception.
java.lang.Exception