|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.security.authn.x509.helpers.proxy.ProxyHelper
public class ProxyHelper
Various helpers for handling proxy certificates
| Constructor Summary | |
|---|---|
ProxyHelper()
|
|
| Method Summary | |
|---|---|
static String |
getLastCN(X500Name x500Name)
|
static String |
getLastCN(X500Principal principal)
|
static int |
getProxyPathLimit(X509Certificate cert)
Returns the proxy path limit of the proxy. |
static ExtendedProxyType |
getProxyType(X509Certificate certificate)
Checks if the certificate is a proxy and if so return its type. |
static boolean |
isLimited(X509Certificate cert)
Checks if the certificate is a limited proxy in Globus sense, i.e. if its last CN is equal to 'limited proxy' (in case of legacy proxies) or if the special limited proxy policy is used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyHelper()
| Method Detail |
|---|
public static ExtendedProxyType getProxyType(X509Certificate certificate)
certificate - to be checked
public static String getLastCN(X500Principal principal)
throws IllegalArgumentException
IllegalArgumentException
public static String getLastCN(X500Name x500Name)
throws IllegalArgumentException
IllegalArgumentException
public static int getProxyPathLimit(X509Certificate cert)
throws IOException
cert -
IOException - if the extension can not be parsed
public static boolean isLimited(X509Certificate cert)
throws IOException
cert -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||