org.mpisws.p2p.pki.x509
Class X509SerializerImpl

java.lang.Object
  extended by org.mpisws.p2p.pki.x509.X509SerializerImpl
All Implemented Interfaces:
X509Serializer, Serializer<X509Certificate>

public class X509SerializerImpl
extends Object
implements X509Serializer


Constructor Summary
X509SerializerImpl()
           
 
Method Summary
 X509Certificate deserialize(InputBuffer buf)
           
 void serialize(X509Certificate cert, OutputBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509SerializerImpl

public X509SerializerImpl()
                   throws CertificateException,
                          NoSuchProviderException
Throws:
CertificateException
NoSuchProviderException
Method Detail

serialize

public void serialize(X509Certificate cert,
                      OutputBuffer buf)
               throws IOException
Specified by:
serialize in interface Serializer<X509Certificate>
Throws:
IOException

deserialize

public X509Certificate deserialize(InputBuffer buf)
                            throws IOException
Specified by:
deserialize in interface Serializer<X509Certificate>
Throws:
IOException


Copyright © 2010. All Rights Reserved.