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(Key k,
OutputBuffer buf)
throws IOException
- Throws:
IOException
deserialize
Key deserialize(InputBuffer buf)
throws IOException,
InvalidKeySpecException,
NoSuchAlgorithmException,
NoSuchProviderException
- Throws:
IOException
InvalidKeySpecException
NoSuchAlgorithmException
NoSuchProviderException
Copyright © 2010. All Rights Reserved.