|
||||||||||
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. |
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 parsedpublic 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 |