com.plumtree.openfoundation.security
Class XPRSAKeyPair

java.lang.Object
  extended bycom.plumtree.openfoundation.security.XPRSAKeyPair
All Implemented Interfaces:
IXPPKIKeyPair

public class XPRSAKeyPair
extends java.lang.Object
implements IXPPKIKeyPair

Class contains the public and private keys for RSA encryption.


Constructor Summary
XPRSAKeyPair(XPRSAPublicKey pubKey, XPRSAPrivateKey privKey)
          Constructor for creating RSA Key Value Pair.
 
Method Summary
 IXPPKIPrivateKey GetPrivateKey()
          Gets the value of the Private Key of this Key Pair in Public Key Infrastructure, when implemented.
 IXPPKIPublicKey GetPublicKey()
          Gets the value of the Public Key of this Key Pair in Public Key Infrastructure, when implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPRSAKeyPair

public XPRSAKeyPair(XPRSAPublicKey pubKey,
                    XPRSAPrivateKey privKey)
Constructor for creating RSA Key Value Pair.

Parameters:
pubKey - Public Key of this RSA Key Value Pair.
privKey - Private Key of this RSA Key Value Pair.
Method Detail

GetPublicKey

public IXPPKIPublicKey GetPublicKey()
Description copied from interface: IXPPKIKeyPair
Gets the value of the Public Key of this Key Pair in Public Key Infrastructure, when implemented.

Specified by:
GetPublicKey in interface IXPPKIKeyPair
Returns:
Public Key part of the Key Pair.

GetPrivateKey

public IXPPKIPrivateKey GetPrivateKey()
Description copied from interface: IXPPKIKeyPair
Gets the value of the Private Key of this Key Pair in Public Key Infrastructure, when implemented.

Specified by:
GetPrivateKey in interface IXPPKIKeyPair
Returns:
Private Key part of the Key Pair.


Copyright © 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.