# Class CM1Serializer

java.lang.Object
com.io7m.canonmill.core.internal.v1.CM1Serializer

public final class CM1Serializer extends Object
A serializer for keystores (v1) data.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CM1Serializer(OutputStream outputStream)`
  A serializer for keystores (v1) data.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `serialize(CMKeyStoreDescription ks)`
  Execute the serializer.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CM1Serializer

    public CM1Serializer(OutputStream outputStream) throws XMLStreamException
    A serializer for keystores (v1) data.
    Parameters:
      `outputStream` - The output stream
    Throws:
      `XMLStreamException` - On errors

- ## Method Details

  - ### serialize

    public void serialize(CMKeyStoreDescription ks) throws XMLStreamException
    Execute the serializer.
    Parameters:
      `ks` - The input keystore
    Throws:
      `XMLStreamException` - On errors