From bc750f70f2ac1f14f5b8e6236c593dcbe99cb12f Mon Sep 17 00:00:00 2001 From: ryawalla Date: Wed, 1 Feb 2023 13:50:40 +0000 Subject: [PATCH] 8294527: Some java.security.debug options missing from security docs Reviewed-by: mullan --- src/java.base/share/classes/sun/security/util/Debug.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/java.base/share/classes/sun/security/util/Debug.java b/src/java.base/share/classes/sun/security/util/Debug.java index cf5db209222..bff273c6548 100644 --- a/src/java.base/share/classes/sun/security/util/Debug.java +++ b/src/java.base/share/classes/sun/security/util/Debug.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2023, 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 @@ -87,10 +87,12 @@ public class Debug { System.err.println("pkcs11keystore"); System.err.println(" PKCS11 KeyStore debugging"); System.err.println("pkcs12 PKCS12 KeyStore debugging"); + System.err.println("properties Security property and configuration file debugging"); System.err.println("sunpkcs11 SunPKCS11 provider debugging"); System.err.println("scl permissions SecureClassLoader assigns"); System.err.println("securerandom SecureRandom"); System.err.println("ts timestamping"); + System.err.println("x509 X.509 certificate debugging"); System.err.println(); System.err.println("The following can be used with access:"); System.err.println(); @@ -122,6 +124,10 @@ public class Debug { System.err.println("ocsp dump the OCSP protocol exchanges"); System.err.println("verbose verbose debugging"); System.err.println(); + System.err.println("The following can be used with x509:"); + System.err.println(); + System.err.println("ava embed non-printable/non-escaped characters in AVA components as hex strings"); + System.err.println(); System.err.println("Note: Separate multiple options with a comma"); System.exit(0); }