Index: java/net/deterlab/abac/X509Credential.java
===================================================================
--- java/net/deterlab/abac/X509Credential.java	(revision 3797bbeb37f8b74b5737fe4dfa18ff9044fc2d3f)
+++ java/net/deterlab/abac/X509Credential.java	(revision 7b33c9b584e09381bd205bd0aee336833e7c4c81)
@@ -28,13 +28,6 @@
     /** The ASN1 OID for AuthorityKeyIdentifier. */
     protected static String authKeyOID = "2.5.29.35";
-
-    /** The role at the head */
-    protected Role m_head
-    /** The role at the tail */;
-    protected Role m_tail;
     /** The certificate representing this credential */
     protected X509V2AttributeCertificate ac;
-    /** The identity that issued the certificate */
-    protected Identity id;
 
     /** Make sure BouncyCastle is loaded */
@@ -293,9 +286,9 @@
             X509Attribute attr = ac.getAttributes()[0];
 
-            DERSequence    java     = (DERSequence)attr.getValues()[0];
-            DERSequence    fucking  = (DERSequence)java.getObjectAt(0);
-            DERUTF8String  sucks    = (DERUTF8String)fucking.getObjectAt(0);
-
-            roles = sucks.getString();
+            DERSequence    t1     = (DERSequence)attr.getValues()[0];
+            DERSequence    t2  = (DERSequence)t1.getObjectAt(0);
+            DERUTF8String  t3    = (DERUTF8String)t2.getObjectAt(0);
+
+            roles = t3.getString();
         }
         catch (Exception e) {
@@ -312,73 +305,8 @@
 
     /**
-     * Two credentials are the same if their roles are the same.
-     * @param o an Object to compare
-     * @return true if the Credentials have the Roles 
-     */
-    public boolean equals(Object o) {
-	if ( o instanceof Credential ) {
-	    Credential c = (Credential) o;
-
-	    if (m_head == null || m_tail == null ) return false;
-	    else return (m_head.equals(c.head()) && m_tail.equals(c.tail()));
-	}
-	else return false;
-    }
-
-    /**
-     * Allow credentials to be compared.  They are ordered by their Roles, head
-     * then tail.
-     * @param o an Object to compare
-     * @return -1 if this Credential is before, 0 if they are the same, and 1
-     *		    if this Credential is after the given object.
-     */
-    public int compareTo(Object o) {
-	if (o instanceof Credential) {
-	    Credential c = (Credential) o;
-
-	    if (head().equals(c.head())) return tail().compareTo(c.tail());
-	    else return head().compareTo(c.head());
-	}
-	else return 1;
-    }
-
-
-    /**
-     * Get the head role from the credential.
-     * @return the Role in the head
-     */
-    public Role head() { return m_head; }
-
-    /**
-     * Get the tail role from the credential
-     * @return the Role in the tail
-     */
-    public Role tail() { return m_tail; }
-
-    /**
      * Gets the cert associated with this credential (if any).
      * @return the attribute cert associated with this credential (if any).
      */
     public X509V2AttributeCertificate cert() { return ac; }
-
-    /**
-     * Turn the credential into string form. The format is head &lt;- tail. For
-     * example: A.r1 &lt;- B.r2.r3.  Principal names are key identifiers.
-     * @return the string form
-     */
-    public String toString() {
-        return m_head + " <- " + m_tail;
-    }
-
-    /**
-     * Turn the credential into string form. The format is head &lt;- tail. For
-     * example: A.r1 &lt;- B.r2.r3.  Principal names are shortened to menmonics
-     * if the Context knows the identity.
-     * @param c the Context to translate names in
-     * @return the string form
-     */
-    public String simpleString(Context c) {
-	return m_head.simpleString(c) + " <- " + m_tail.simpleString(c);
-    }
 
     /**
@@ -412,15 +340,4 @@
 
     /**
-     * Return the Identity that issued the underlying certificate.  A jabac
-     * extension.
-     * @return the Identity that issued the underlying certificate.
-     */
-    public Identity issuer() { return id; }
-    /**
-     * Return the X509Certificate that issued the underlying certificate.
-     * @return the X509Certificate that issued the underlying certificate.
-     */
-    public X509Certificate issuerCert() { return id.getCertificate(); }
-    /**
      * Return the X509V2AttributeCertificate that underlys the Credential
      * @return the X509V2AttributeCertificate that underlys the Credential.
