equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
706 verifyCert(subject, extensions); |
706 verifyCert(subject, extensions); |
707 |
707 |
708 } |
708 } |
709 |
709 |
710 /* |
710 /* |
711 * Verify if X.509 V3 Certificate is compliant with RFC 3280. |
711 * Verify if X.509 V3 Certificate is compliant with RFC 5280. |
712 */ |
712 */ |
713 private void verifyCert(X500Name subject, |
713 private void verifyCert(X500Name subject, |
714 CertificateExtensions extensions) |
714 CertificateExtensions extensions) |
715 throws CertificateParsingException, IOException { |
715 throws CertificateParsingException, IOException { |
716 |
716 |