You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by di...@apache.org on 2004/12/14 03:45:06 UTC
cvs commit: xml-security/src/org/apache/xml/security/keys/content/x509 XMLX509SubjectName.java
dims 2004/12/13 18:45:06
Modified: src/org/apache/xml/security/keys/content/x509
XMLX509SubjectName.java
Log:
Fix for Bug 32681 - can't build with Kaffe because it uses com.sun. classes directly
Revision Changes Path
1.11 +1 -40 xml-security/src/org/apache/xml/security/keys/content/x509/XMLX509SubjectName.java
Index: XMLX509SubjectName.java
===================================================================
RCS file: /home/cvs/xml-security/src/org/apache/xml/security/keys/content/x509/XMLX509SubjectName.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- XMLX509SubjectName.java 24 Sep 2004 20:54:29 -0000 1.10
+++ XMLX509SubjectName.java 14 Dec 2004 02:45:06 -0000 1.11
@@ -28,9 +28,6 @@
import org.w3c.dom.Document;
import org.w3c.dom.Element;
-import sun.security.x509.X500Name;
-
-
/**
*
* @author $Author$
@@ -86,42 +83,6 @@
*/
public String getSubjectName() {
return RFC2253Parser.normalize(this.getTextFromTextChild());
- }
-
- /**
- * Method createX500Name
- *
- * @param common
- * @param orgUnit
- * @param org
- * @param country
- * @return
- *
- * @throws IOException
- */
- public static X500Name createX500Name(
- String common, String orgUnit, String org, String country)
- throws IOException {
- return new X500Name(common, orgUnit, org, country);
- }
-
- /**
- * Method createX500Name
- *
- * @param common
- * @param orgUnit
- * @param org
- * @param locality
- * @param state
- * @param country
- * @return
- *
- * @throws IOException
- */
- public static X500Name createX500Name(
- String common, String orgUnit, String org, String locality, String state, String country)
- throws IOException {
- return new X500Name(common, orgUnit, org, locality, state, country);
}
/** @inheritDoc */