org.mpisws.p2p.pki.x509
Class KeySerializerImpl
java.lang.Object
org.mpisws.p2p.pki.x509.KeySerializerImpl
- All Implemented Interfaces:
- KeySerializer
public class KeySerializerImpl
- extends Object
- implements KeySerializer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeySerializerImpl
public KeySerializerImpl()
serialize
public void serialize(Key k,
OutputBuffer buf)
throws IOException
- Specified by:
serialize in interface KeySerializer
- Throws:
IOException
deserialize
public Key deserialize(InputBuffer buf)
throws IOException,
InvalidKeySpecException,
NoSuchAlgorithmException,
NoSuchProviderException
- Specified by:
deserialize in interface KeySerializer
- Throws:
IOException
InvalidKeySpecException
NoSuchAlgorithmException
NoSuchProviderException
Copyright © 2010. All Rights Reserved.