OpenJDK / portola / portola
changeset 6114:9d463b9408ba
6870553: X509Certificate.getSigAlgName method description uses non-standard algorithm name as example
Reviewed-by: xuelei
author | mullan |
---|---|
date | Tue, 20 Jul 2010 10:41:50 -0400 |
parents | 6b79a63f1d4b |
children | 7c523cf2bc8a |
files | jdk/src/share/classes/java/security/cert/X509CRL.java jdk/src/share/classes/java/security/cert/X509Certificate.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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>