// Path: java-ca-lib/src/main/java/io/github/olivierlemasle/ca/DistinguishedName.java
// public interface DistinguishedName {
// 
//   public X500Name getX500Name();
// 
//   public X500Principal getX500Principal();
// 
//   public byte[] getEncoded();
// 
//   public String getName();
// }


import java.security.cert.X509Certificate;
import com.fasterxml.jackson.databind.module.SimpleModule;
import io.github.olivierlemasle.ca.DistinguishedName;
package io.github.olivierlemasle.caweb.json;




public class CertJsonModule extends SimpleModule {
  private static final long serialVersionUID = 5830481586565293705L;

  public CertJsonModule() {
// Path: java-ca-lib/src/main/java/io/github/olivierlemasle/ca/DistinguishedName.java
// public interface DistinguishedName {
// 
//   public X500Name getX500Name();
// 
//   public X500Principal getX500Principal();
// 
//   public byte[] getEncoded();
// 
//   public String getName();
// }


// Path: ca-api/src/main/java/io/github/olivierlemasle/caweb/json/CertJsonModule.java
import java.security.cert.X509Certificate;
import com.fasterxml.jackson.databind.module.SimpleModule;
import io.github.olivierlemasle.ca.DistinguishedName;

package io.github.olivierlemasle.caweb.json;




public class CertJsonModule extends SimpleModule {
  private static final long serialVersionUID = 5830481586565293705L;

  public CertJsonModule() {
    addSerializer(DistinguishedName.class, new DnSerializer());