|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.util.Streamable
cryptix.pgp.EncryptedSecretKey
An encrypted secret key class (used by SecretKeyCertificate).
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.4 $
Constructor Summary | |
EncryptedSecretKey(byte[] buf)
|
|
EncryptedSecretKey(java.io.DataInput in)
|
|
EncryptedSecretKey(SecretKey sk,
Passphrase passphrase,
RandomStream rs)
|
Method Summary | |
KeyID |
id()
Gets the key ID. |
boolean |
isEncrypted()
|
void |
read(java.io.DataInput in)
Reads 'this' from the DataInput object. |
SecretKey |
secretKey(StreamCipher cipher)
|
java.lang.String |
toString()
Returns a string representation of only the public parts of this secret key, in hex. |
void |
write(java.io.DataOutput out)
Writes 'this' to the DataOutput object. |
Methods inherited from class cryptix.util.Streamable |
load, save |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EncryptedSecretKey(SecretKey sk, Passphrase passphrase, RandomStream rs) throws java.io.IOException
public EncryptedSecretKey(byte[] buf) throws java.io.IOException
public EncryptedSecretKey(java.io.DataInput in) throws java.io.IOException
Method Detail |
public SecretKey secretKey(StreamCipher cipher) throws DecryptException
DecryptException
public void read(java.io.DataInput in) throws java.io.IOException
StreamInterface
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
StreamInterface
java.io.IOException
public final KeyID id()
public java.lang.String toString()
public boolean isEncrypted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |