ostore.security
Class QSRsaPrivateKey

java.lang.Object
  |
  +--ostore.security.QSRsaPrivateKey
All Implemented Interfaces:
QSPrivateKey, QuickSerializable

public class QSRsaPrivateKey
extends Object
implements QSPrivateKey

A subtype of QSPrivateKey for RSA private keys.

Version:
$Id: QSRsaPrivateKey.java,v 1.13 2003/09/03 22:12:34 srhea Exp $
Author:
Sean C. Rhea

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

Field Detail

_key

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

QSRsaPrivateKey

public QSRsaPrivateKey(PrivateKey key)

QSRsaPrivateKey

public QSRsaPrivateKey(InputBuffer buffer)
                throws QSException
Method Detail

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 PrivateKey key()
Description copied from interface: QSPrivateKey
Return the key associated with this object.

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