|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.util.DNImpl
Field Summary | |
static int |
CANON
|
java.lang.String |
canonicalString
|
int |
count
|
org.bouncycastle.asn1.DERObjectIdentifier[] |
oids
|
java.lang.String[] |
rdns
|
static int |
RFC2253
|
java.lang.String |
rfc2253String
|
static int |
X500
|
java.lang.String |
x500String
|
Constructor Summary | |
DNImpl(org.bouncycastle.asn1.DERObjectIdentifier[] newOids,
java.lang.String[] newRdns,
int newCount)
Creates a new instance of DN |
|
DNImpl(java.security.Principal principal)
|
|
DNImpl(java.lang.String name)
|
Method Summary | |
java.lang.String |
constructRFC2253(boolean canon)
|
java.lang.String |
constructX500()
|
boolean |
equals(java.lang.Object inputDN2)
|
java.lang.String |
getCanon()
Used to get the DN in canonical (small case) format. |
java.lang.String |
getRFC2253()
Used to get the DN in RFC2253 format. |
java.lang.String |
getX500()
Used to get the DN in X500 format. |
int |
hashCode()
|
void |
parse(java.lang.String inputDN)
|
java.lang.String |
toString()
|
DN |
withoutLastCN(boolean checkProxy)
Used to get a DN instance of the DN without the last CN. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int RFC2253
public static final int X500
public static final int CANON
public java.lang.String rfc2253String
public java.lang.String x500String
public java.lang.String canonicalString
public java.lang.String[] rdns
public org.bouncycastle.asn1.DERObjectIdentifier[] oids
public int count
Constructor Detail |
public DNImpl(org.bouncycastle.asn1.DERObjectIdentifier[] newOids, java.lang.String[] newRdns, int newCount)
public DNImpl(java.lang.String name)
public DNImpl(java.security.Principal principal)
Method Detail |
public java.lang.String getX500()
DN
getX500
in interface DN
public java.lang.String getRFC2253()
DN
getRFC2253
in interface DN
public java.lang.String getCanon()
DN
getCanon
in interface DN
public java.lang.String constructX500()
public java.lang.String constructRFC2253(boolean canon)
public void parse(java.lang.String inputDN)
public boolean equals(java.lang.Object inputDN2)
public java.lang.String toString()
public DN withoutLastCN(boolean checkProxy)
DN
withoutLastCN
in interface DN
checkProxy
- a switch to define whether to check that the removed part is proxy identifier
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |