com.plumtree.openfoundation.security
Class XPRSAPublicKey

java.lang.Object
  extended bycom.plumtree.openfoundation.security.XPRSAPublicKey
All Implemented Interfaces:
IXPPKIPublicKey

public class XPRSAPublicKey
extends java.lang.Object
implements IXPPKIPublicKey

Holds the public key parameters needed for RSA encryption.


Constructor Summary
XPRSAPublicKey(java.lang.String keyValues)
          An XPRSAPublicKey constructor which takes Key Values as input.
XPRSAPublicKey(XPBigInteger modulus, XPBigInteger exponent)
          An XPRSAPublicKey constructor which takes modulus and exponent as input.
 
Method Summary
 XPBigInteger GetExponent()
          Returns the Exponent of this RSA Public Key.
 XPBigInteger GetModulus()
          Returns the Modulus of this RSA Public Key.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPRSAPublicKey

public XPRSAPublicKey(XPBigInteger modulus,
                      XPBigInteger exponent)
An XPRSAPublicKey constructor which takes modulus and exponent as input.

Parameters:
modulus - for the RSA Private key.
exponent - for the RSA Private key.

XPRSAPublicKey

public XPRSAPublicKey(java.lang.String keyValues)
An XPRSAPublicKey constructor which takes Key Values as input.

Parameters:
keyValues - String of keyvalues.
Method Detail

GetModulus

public XPBigInteger GetModulus()
Returns the Modulus of this RSA Public Key.

Returns:
XPBigInteger Modulus value.

GetExponent

public XPBigInteger GetExponent()
Returns the Exponent of this RSA Public Key.

Returns:
XPBigInteger Exponent value.

toString

public java.lang.String toString()


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