# HG changeset patch # User mullan # Date 1395793927 14400 # Node ID fa4caa7b4827248972b2a510b41dfbff7bca4d17 # Parent ec3f230ed0994dea07955b7665fd62562750dc85 8037258: AIOB while parsing CRL for revoked certificate Reviewed-by: mullan Contributed-by: rajan.halade@oracle.com diff -r ec3f230ed099 -r fa4caa7b4827 jdk/src/share/classes/sun/security/x509/CRLReasonCodeExtension.java --- a/jdk/src/share/classes/sun/security/x509/CRLReasonCodeExtension.java Tue Mar 25 10:14:09 2014 +0000 +++ b/jdk/src/share/classes/sun/security/x509/CRLReasonCodeExtension.java Tue Mar 25 20:32:07 2014 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -34,29 +34,9 @@ /** * The reasonCode is a non-critical CRL entry extension that identifies - * the reason for the certificate revocation. CAs are strongly - * encouraged to include reason codes in CRL entries; however, the - * reason code CRL entry extension should be absent instead of using the - * unspecified (0) reasonCode value. - *
The ASN.1 syntax for this is: - *
- * id-ce-cRLReason OBJECT IDENTIFIER ::= { id-ce 21 } - * - * -- reasonCode ::= { CRLReason } - * - * CRLReason ::= ENUMERATED { - * unspecified (0), - * keyCompromise (1), - * cACompromise (2), - * affiliationChanged (3), - * superseded (4), - * cessationOfOperation (5), - * certificateHold (6), - * removeFromCRL (8), - * privilegeWithdrawn (9), - * aACompromise (10) } - *+ * the reason for the certificate revocation. * @author Hemma Prafullchandra + * @see java.security.cert.CRLReason * @see Extension * @see CertAttrSet */ @@ -64,23 +44,11 @@ implements CertAttrSet