edu.vt.middleware.crypt.x509.DNFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vt-crypt Show documentation
Show all versions of vt-crypt Show documentation
Library for performing common cryptographic operations
/*
$Id$
Copyright (C) 2007-2010 Virginia Tech.
All rights reserved.
SEE LICENSE FOR MORE INFORMATION
Author: Middleware Services
Email: [email protected]
Version: $Revision$
Updated: $Date$
*/
package edu.vt.middleware.crypt.x509;
import javax.security.auth.x500.X500Principal;
/**
* Strategy pattern interface for producing a string representation of an X.500
* distinguished name.
*
* @author Middleware Services
* @version $Revision: 578 $
*/
public interface DNFormatter
{
/**
* 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 - 2025 Weber Informatics LLC | Privacy Policy