org.glite.security.util
Class DNImpl

java.lang.Object
  extended by org.glite.security.util.DNImplRFC2253
      extended by org.glite.security.util.DNImpl
All Implemented Interfaces:
DN

Deprecated. Use DNImplRFC2253 instead for correctly formed DN strings. Created on September 8, 2003, 7:21 PM

public class DNImpl
extends DNImplRFC2253

DNImpl.java

Author:
Joni Hahkala

Field Summary
 
Fields inherited from class org.glite.security.util.DNImplRFC2253
CANON, m_canonicalString, m_count, m_oids, m_rdns, m_rfc2253String, m_x500String, RFC2253, X500
 
Constructor Summary
DNImpl(org.bouncycastle.asn1.DERObjectIdentifier[] newOids, java.lang.String[] newRdns, int newCount)
          Deprecated. Creates a new instance of DN.
DNImpl(java.security.Principal principal)
          Deprecated. Creates a new DNImpl object.
DNImpl(java.lang.String name)
          Deprecated. Creates a new DNImpl object.
DNImpl(org.bouncycastle.asn1.x509.X509Name x509Name)
          Deprecated. Creates a new DNImpl object.
 
Method Summary
 
Methods inherited from class org.glite.security.util.DNImplRFC2253
constructRFC2253, constructX500, equals, getCanon, getLastCNValue, getRFC2253, getRFC2253v2, getRFCDN, getRFCDNv2, getX500, hashCode, isEmpty, parse, parseX500, toString, withoutLastCN
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DNImpl

public DNImpl(org.bouncycastle.asn1.DERObjectIdentifier[] newOids,
              java.lang.String[] newRdns,
              int newCount)
Deprecated. 
Creates a new instance of DN.

Parameters:
newOids - The array of object identifiers.
newRdns - The array or relative distinguished names.
newCount - The number of fields in the DN (both oids and rdns have to have this number of items).

DNImpl

public DNImpl(java.lang.String name)
Deprecated. 
Creates a new DNImpl object.

Parameters:
name - Generates a new DNImpl class from the DN in the name.

DNImpl

public DNImpl(java.security.Principal principal)
Deprecated. 
Creates a new DNImpl object.

Parameters:
principal - The Principal holding the information to generate the DN from.

DNImpl

public DNImpl(org.bouncycastle.asn1.x509.X509Name x509Name)
Deprecated. 
Creates a new DNImpl object.

Parameters:
x509Name - The X509Name instance holding the information to generate the DN from.