6870553: X509Certificate.getSigAlgName method description uses non-standard algorithm name as example
authormullan
Tue, 20 Jul 2010 10:41:50 -0400
changeset 6114 9d463b9408ba
parent 6113 6b79a63f1d4b
child 6115 7c523cf2bc8a
6870553: X509Certificate.getSigAlgName method description uses non-standard algorithm name as example Reviewed-by: xuelei
jdk/src/share/classes/java/security/cert/X509CRL.java
jdk/src/share/classes/java/security/cert/X509Certificate.java
--- a/jdk/src/share/classes/java/security/cert/X509CRL.java	Mon Jul 19 10:02:55 2010 +0800
+++ b/jdk/src/share/classes/java/security/cert/X509CRL.java	Tue Jul 20 10:41:50 2010 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -387,7 +387,7 @@
 
     /**
      * Gets the signature algorithm name for the CRL
-     * signature algorithm. An example is the string "SHA-1/DSA".
+     * signature algorithm. An example is the string "SHA256withRSA".
      * The ASN.1 definition for this is:
      * <pre>
      * signatureAlgorithm   AlgorithmIdentifier<p>
--- a/jdk/src/share/classes/java/security/cert/X509Certificate.java	Mon Jul 19 10:02:55 2010 +0800
+++ b/jdk/src/share/classes/java/security/cert/X509Certificate.java	Tue Jul 20 10:41:50 2010 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -352,7 +352,7 @@
 
     /**
      * Gets the signature algorithm name for the certificate
-     * signature algorithm. An example is the string "SHA-1/DSA".
+     * signature algorithm. An example is the string "SHA256withRSA".
      * The ASN.1 definition for this is:
      * <pre>
      * signatureAlgorithm   AlgorithmIdentifier<p>