Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
Other Resources:
JDK 11 jdk.crypto.mscapi.jmod - Crypto MSCAPI Module
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module.
JDK 11 Crypto MSCAPI module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.crypto.mscapi.jmod.
JDK 11 Crypto MSCAPI module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Crypto MSCAPI module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.crypto.mscapi.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/security/mscapi/PRNG.java
/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.security.mscapi; import java.security.ProviderException; import java.security.SecureRandomSpi; /** * Native PRNG implementation for Windows using the Microsoft Crypto API. * * @since 1.6 */ public final class PRNG extends SecureRandomSpi implements java.io.Serializable { private static final long serialVersionUID = 4129268715132691532L; /* * The CryptGenRandom function fills a buffer with cryptographically random * bytes. */ private static native byte[] generateSeed(int length, byte[] seed); /** * Creates a random number generator. */ public PRNG() { } /** * Reseeds this random object. The given seed supplements, rather than * replaces, the existing seed. Thus, repeated calls are guaranteed * never to reduce randomness. * * @param seed the seed. */ @Override protected void engineSetSeed(byte[] seed) { if (seed != null) { generateSeed(-1, seed); } } /** * Generates a user-specified number of random bytes. * * @param bytes the array to be filled in with random bytes. */ @Override protected void engineNextBytes(byte[] bytes) { if (bytes != null) { if (generateSeed(0, bytes) == null) { throw new ProviderException("Error generating random bytes"); } } } /** * Returns the given number of seed bytes. This call may be used to * seed other random number generators. * * @param numBytes the number of seed bytes to generate. * * @return the seed bytes. */ @Override protected byte[] engineGenerateSeed(int numBytes) { byte[] seed = generateSeed(numBytes, null); if (seed == null) { throw new ProviderException("Error generating seed bytes"); } return seed; } }
⏎ sun/security/mscapi/PRNG.java
Â
⇒ JDK 11 jdk.dynalink.jmod - Dynamic Linking Module
2020-08-02, 14415👍, 1💬
Popular Posts:
XMLSchema, Release 1.4.2, is a lightweight Java object model that can be used to manipulate and gene...
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module. JDK 11 RMI m...
Apache Log4j provides the interface that applications should code to and provides the adapter compon...
What Is HttpComponents httpcore-4.2.2.jar? HttpComponents httpcore-4.2.2.jar is the JAR file for Apa...
What Is jtds-1.2.2.jar? jtds-1.2.2.jar is the JAR files of jTDS Java library 1.2.2, which is a JDBC ...