edu.vt.middleware.crypt.x509
Class LDAPv3DNFormatter

java.lang.Object
  extended by edu.vt.middleware.crypt.x509.LDAPv3DNFormatter
All Implemented Interfaces:
DNFormatter

public class LDAPv3DNFormatter
extends Object
implements DNFormatter

Produces a string representation of an X.500 distinguished name using the process described in section 2 of RFC 2253, LADPv3 Distinguished Names.

Version:
$Revision: 578 $
Author:
Middleware Services

Field Summary
static char SEPARATOR_CHAR
          Separator character relative distinguished name components.
 
Constructor Summary
LDAPv3DNFormatter()
           
 
Method Summary
 String format(X500Principal dn)
          Produces a string representation of the given X.500 principal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR_CHAR

public static final char SEPARATOR_CHAR
Separator character relative distinguished name components.

See Also:
Constant Field Values
Constructor Detail

LDAPv3DNFormatter

public LDAPv3DNFormatter()
Method Detail

format

public String format(X500Principal dn)
Produces a string representation of the given X.500 principal.

Specified by:
format in interface DNFormatter
Parameters:
dn - Distinguished name as as X.500 principal.
Returns:
String representation of DN.


Copyright © 2003-2011 Virginia Tech. All Rights Reserved.