org.eclipse.higgins.icard.provider.cardspace.common.utils
Class RelyingPartyIdentifierHelper

java.lang.Object
  extended by org.eclipse.higgins.icard.provider.cardspace.common.utils.RelyingPartyIdentifierHelper

public class RelyingPartyIdentifierHelper
extends Object


Nested Class Summary
static class RelyingPartyIdentifierHelper.X500_Oid_HashTable
           
 
Field Summary
static String[] ev_policies_oids
           
 
Constructor Summary
RelyingPartyIdentifierHelper()
           
 
Method Summary
static List extendPath(List path)
           
static List findSplitCommaPositions(String n)
           
static String getCertPathString(X509Certificate cert)
           
static String getOrgIdString(X509Certificate rp)
           
static String getQualifiedOrgIdString(List certPath)
           
static byte[] getRelyingPartyIdentifier(String hostname)
           
static byte[] getRelyingPartyIdentifier(X509Certificate rp)
           
static boolean hasNoOrganizationalIdentifierAttributes(X509Certificate rp)
           
static String hostnameByCertficate(X509Certificate cert)
           
static boolean isExtendendValidationCertificate(X509Certificate rp)
           
static boolean isRootCertificate(X509Certificate cert)
           
static List splitAttributesOfSubjectName(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ev_policies_oids

public static String[] ev_policies_oids
Constructor Detail

RelyingPartyIdentifierHelper

public RelyingPartyIdentifierHelper()
Method Detail

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