          to PEM; usually this is limited to certain types from the `java.security`
          packages.
 
-  `pem`: the file path to write the PEM output to (or any other type supported by clojure's `writer`)"
+  `pem`: the file path to write the PEM output to (or some other object supported by clojure's `writer`)"
   [obj pem]
   {:pre  [(not (nil? obj))
           (not (nil? pem))]

  `keystore`: the `KeyStore` to add certificates to
  `prefix`:   an alias to associate with the certificates. each
              certificate will have a numeric index appended to
              its alias (starting with '-0'
  `pem`:      the path to a PEM file containing the certificate"
  [keystore prefix pem]
  {:pre  [(instance? KeyStore keystore)
          (string? prefix)

  (CertificateUtils/createKeyStore))

(defn pem->objs
  "Given a file path (or some other object supported by clojure's `reader`), reads
  PEM-encoded objects and returns a collection of objects of the corresponding
  type from `java.security`."
  [pem]
