ostore.security
Class QSRsaPublicKey

java.lang.Object
  |
  +--ostore.security.QSRsaPublicKey
All Implemented Interfaces:
QSPublicKey, QuickSerializable

public class QSRsaPublicKey
extends Object
implements QSPublicKey

A subtype of QSPublicKey for RSA public keys.

Version:
$Id: QSRsaPublicKey.java,v 1.13 2002/08/02 19:39:56 geels Exp $
Author:
Sean C. Rhea

Field Summary
protected  cryptix.jce.provider.rsa.RSAPublicKeyCryptix _key
           
 
Constructor Summary
QSRsaPublicKey(InputBuffer buffer)
           
QSRsaPublicKey(PublicKey key)
           
 
Method Summary
 boolean equals(Object other)
           
 PublicKey key()
          Return the key associated with this object.
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_key

protected cryptix.jce.provider.rsa.RSAPublicKeyCryptix _key
Constructor Detail

QSRsaPublicKey

public QSRsaPublicKey(PublicKey key)

QSRsaPublicKey

public QSRsaPublicKey(InputBuffer buffer)
               throws QSException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Parameters:
buffer - the output buffer to add the object to

key

public PublicKey key()
Description copied from interface: QSPublicKey
Return the key associated with this object.

Specified by:
key in interface QSPublicKey
Returns:
the key associated with this object

equals

public boolean equals(Object other)
Overrides:
equals in class Object