# HG changeset patch # User mullan # Date 1279636910 14400 # Node ID 9d463b9408baa3e8bf2be83d78b6c57153f68517 # Parent 6b79a63f1d4b7e53ed37e5d916b8572ff4ed7f62 6870553: X509Certificate.getSigAlgName method description uses non-standard algorithm name as example Reviewed-by: xuelei diff -r 6b79a63f1d4b -r 9d463b9408ba jdk/src/share/classes/java/security/cert/X509CRL.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: *
* signatureAlgorithm AlgorithmIdentifierdiff -r 6b79a63f1d4b -r 9d463b9408ba jdk/src/share/classes/java/security/cert/X509Certificate.java --- 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: *
* signatureAlgorithm AlgorithmIdentifier