org.eclipse.higgins.icard.provider.cardspace.common.utils
Class RelyingPartyIdentifierHelper
java.lang.Object
org.eclipse.higgins.icard.provider.cardspace.common.utils.RelyingPartyIdentifierHelper
public class RelyingPartyIdentifierHelper
- extends Object
ev_policies_oids
public static String[] ev_policies_oids
RelyingPartyIdentifierHelper
public RelyingPartyIdentifierHelper()
getOrgIdString
public static String getOrgIdString(X509Certificate rp)
findSplitCommaPositions
public static List findSplitCommaPositions(String n)
splitAttributesOfSubjectName
public static List splitAttributesOfSubjectName(String name)
getCertPathString
public static String getCertPathString(X509Certificate cert)
isExtendendValidationCertificate
public static boolean isExtendendValidationCertificate(X509Certificate rp)
hasNoOrganizationalIdentifierAttributes
public static boolean hasNoOrganizationalIdentifierAttributes(X509Certificate rp)
isRootCertificate
public static boolean isRootCertificate(X509Certificate cert)
getQualifiedOrgIdString
public static String getQualifiedOrgIdString(List certPath)
throws Exception
- Throws:
Exception
extendPath
public static List extendPath(List path)
hostnameByCertficate
public static String hostnameByCertficate(X509Certificate cert)
throws Exception
- Throws:
Exception
getRelyingPartyIdentifier
public static byte[] getRelyingPartyIdentifier(String hostname)
throws Exception
- Throws:
Exception
getRelyingPartyIdentifier
public static byte[] getRelyingPartyIdentifier(X509Certificate rp)
throws Exception
- Throws:
Exception