|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.util.proxy.ProxyCertUtil
public class ProxyCertUtil
Utility methods to dig up information out of proxy certificates.
Constructor Summary | |
---|---|
ProxyCertUtil()
|
Method Summary | |
---|---|
static void |
checkProxyDN(DN parent,
DN proxy)
Check whether the proxy DN is valid compared to the issuer DN, meaning that the DN or the proxy starts with the DN of the parent |
static java.math.BigInteger |
getSN(org.bouncycastle.asn1.x509.X509Name dn)
Returns the serial number CN part of the DN, if present. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyCertUtil()
Method Detail |
---|
public static void checkProxyDN(DN parent, DN proxy) throws java.lang.IllegalArgumentException
parent
- the DN of the parent.proxy
- the DN of the proxy.
java.lang.IllegalArgumentException
- thrown in case the DN parsing fails.public static java.math.BigInteger getSN(org.bouncycastle.asn1.x509.X509Name dn)
dn
- The DN that ends or starts with (to accept also reversed DNs) the "CN=
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |