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
|
_key
protected cryptix.jce.provider.rsa.RSAPublicKeyCryptix _key
QSRsaPublicKey
public QSRsaPublicKey(PublicKey key)
QSRsaPublicKey
public QSRsaPublicKey(InputBuffer buffer)
throws QSException
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