Package org.cryptacular.x509.dn
Interface NameFormatter
- All Known Implementing Classes:
LdapNameFormatter
public interface NameFormatter
Strategy pattern interface for producing a string representation of an X.500 distinguished name.
- Author:
- Middleware Services
-
Method Summary
Modifier and TypeMethodDescriptionformat
(X500Principal dn) Produces a string representation of the given X.500 principal.
-
Method Details
-
format
Produces a string representation of the given X.500 principal.- Parameters:
dn
- Distinguished name as as X.500 principal.- Returns:
- String representation of DN.
-