All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cryptacular.x509.dn.NameFormatter Maven / Gradle / Ivy

There is a newer version: 6.2.20
Show newest version
/* See LICENSE for licensing and NOTICE for copyright. */
package org.cryptacular.x509.dn;

import javax.security.auth.x500.X500Principal;

/**
 * Strategy pattern interface for producing a string representation of an X.500 distinguished name.
 *
 * @author  Middleware Services
 */
public interface NameFormatter
{

  /**
   * Produces a string representation of the given X.500 principal.
   *
   * @param  dn  Distinguished name as as X.500 principal.
   *
   * @return  String representation of DN.
   */
  String format(X500Principal dn);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy