org.mpisws.p2p.pki.x509
Interface KeySerializer
- All Known Implementing Classes:
- KeySerializerImpl
public interface KeySerializer
KEY_PRIVATE
static final byte KEY_PRIVATE
- See Also:
- Constant Field Values
KEY_PUBLIC
static final byte KEY_PUBLIC
- See Also:
- Constant Field Values
KEY_SECRET
static final byte KEY_SECRET
- See Also:
- Constant Field Values
serialize
void serialize(java.security.Key k,
OutputBuffer buf)
throws java.io.IOException
- Throws:
java.io.IOException
deserialize
java.security.Key deserialize(InputBuffer buf)
throws java.io.IOException,
java.security.spec.InvalidKeySpecException,
java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
- Throws:
java.io.IOException
java.security.spec.InvalidKeySpecException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
Copyright © 2001-2005 - Rice Pastry.