From 316361b95c004f5dcd6e7a3150cebceb8f82f67b Mon Sep 17 00:00:00 2001 From: Ben Perez Date: Tue, 9 Apr 2024 20:03:18 +0000 Subject: [PATCH] 8328318: Wrong description in X509Extension.getExtensionValue method javadoc Reviewed-by: mullan, wetmore --- .../classes/java/security/cert/X509Extension.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/classes/java/security/cert/X509Extension.java b/src/java.base/share/classes/java/security/cert/X509Extension.java index e4e1670540f..141cd24a1bb 100644 --- a/src/java.base/share/classes/java/security/cert/X509Extension.java +++ b/src/java.base/share/classes/java/security/cert/X509Extension.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2024, 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 @@ -161,12 +161,12 @@ public interface X509Extension { * Extension Name * * + * 1.3.6.1.5.5.7.1.1 + * AuthorityInformationAccess * 2.5.29.14 * SubjectKeyIdentifier * 2.5.29.15 * KeyUsage - * 2.5.29.16 - * PrivateKeyUsage * 2.5.29.17 * SubjectAlternativeName * 2.5.29.18 @@ -175,12 +175,18 @@ public interface X509Extension { * BasicConstraints * 2.5.29.30 * NameConstraints + * 2.5.29.31 + * CRLDistributionPoints + * 2.5.29.32 + * CertificatePolicies * 2.5.29.33 * PolicyMappings * 2.5.29.35 * AuthorityKeyIdentifier * 2.5.29.36 * PolicyConstraints + * 2.5.29.37 + * ExtendedKeyUsage * * *