About 127,000 results
Open links in new tab
  1. java.security.acl.Group does not exist in java17. How to use the ...

    Jun 15, 2023 · The Javadoc for Java 1.8 says 'The classes and interfaces in this package have been superseded by classes in the java.security package. See that package and, for example, …

  2. Adding gradle dependencies - Stack Overflow

    Nov 6, 2021 · I have a simple gradle 7.2 project, with a simple kotlin file, running java 11, on ubuntu 20.04 in vs code For my project, I need to add some simple dependencies to java.security such that …

  3. Unable to export a package from java.base module

    Nicolai's answer is correct regarding the techniques necessary to export an otherwise unexported package from the java.base module or from any other module. But if the goal is to use Unsafe, the …

  4. why `java.lang.SecurityException: Prohibited package name: java` is ...

    So a class loaded by the application classloader in the package java.lang, would not have access to the core java.lang package-private stuff. To illustrate this, try to create a class called javax.swing.JButton …

  5. How can I generate an MD5 hash in Java? - Stack Overflow

    5 You can generate MD5 hash for a given text by making use of the methods in the MessageDigest class in the java.security package. Below is the complete code snippet,

  6. how to extract CN from X509Certificate in Java - Stack Overflow

    Mar 18, 2014 · I want to preferably use only what is bundled with java security package. From this answer, I tried: static void parseCert(String filename) throws FileNotFoundException, …

  7. How to verify xmldsig signature using java.security

    Jun 7, 2018 · How to verify xmldsig signature using java.security Asked 7 years, 5 months ago Modified 7 years, 5 months ago Viewed 2k times

  8. How to add Multiple signatures in XML using JAVA

    Nov 2, 2020 · I have the following method that uses the JDom library, the Apache XML Security library, the org.w3c.dom package and the java.security package to sign a single XML file using data from a …

  9. java - How can I resolve "sun.security.x509" is not visible when ...

    May 19, 2020 · We can't tell you how to address the first problem since you haven't shown us the code where you are using classes in the sun.security.x509 package. A possible workaround might be to …

  10. What replaces Java's sun.security packages? - Stack Overflow

    Feb 2, 2015 · There are java and javax security packages, but they seem not to contain equivalents for sun.security.x509 & etc.. What should be used to replace the sun.security packages??