Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 jdk.crypto.cryptoki.jmod - Crypto KI Module
JDK 11 jdk.crypto.cryptoki.jmod is the JMOD file for JDK 11 Crypto Cryptoki module.
JDK 11 Crypto KI module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.crypto.cryptoki.jmod.
JDK 11 Crypto KI module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Crypto KI module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.crypto.cryptoki.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/security/pkcs11/KeyCache.java
/* * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.security.pkcs11; import java.util.*; import java.lang.ref.*; import java.security.Key; import sun.security.util.Cache; /** * Key to P11Key translation cache. The PKCS#11 token can only perform * operations on keys stored on the token (permanently or temporarily). That * means that in order to allow the PKCS#11 provider to use keys from other * providers, we need to transparently convert them to P11Keys. The engines * do that using (Secret)KeyFactories, which in turn use this class as a * cache. * * There are two KeyCache instances per provider, one for secret keys and * one for public and private keys. * * @author Andreas Sterbenz * @since 1.5 */ final class KeyCache { private final Cache<IdentityWrapper, P11Key> strongCache; private WeakReference<Map<Key,P11Key>> cacheReference; KeyCache() { strongCache = Cache.newHardMemoryCache(16); } private static final class IdentityWrapper { final Object obj; IdentityWrapper(Object obj) { this.obj = obj; } public boolean equals(Object o) { if (this == o) { return true; } if (o instanceof IdentityWrapper == false) { return false; } IdentityWrapper other = (IdentityWrapper)o; return this.obj == other.obj; } public int hashCode() { return System.identityHashCode(obj); } } synchronized P11Key get(Key key) { P11Key p11Key = strongCache.get(new IdentityWrapper(key)); if (p11Key != null) { return p11Key; } Map<Key,P11Key> map = (cacheReference == null) ? null : cacheReference.get(); if (map == null) { return null; } return map.get(key); } synchronized void put(Key key, P11Key p11Key) { strongCache.put(new IdentityWrapper(key), p11Key); Map<Key,P11Key> map = (cacheReference == null) ? null : cacheReference.get(); if (map == null) { map = new IdentityHashMap<>(); cacheReference = new WeakReference<>(map); } map.put(key, p11Key); } }
⏎ sun/security/pkcs11/KeyCache.java
Or download all of them as a single archive file:
File name: jdk.crypto.cryptoki-11.0.1-src.zip File size: 204753 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.crypto.ec.jmod - Crypto EC Module
2020-08-13, 32818👍, 0💬
Popular Posts:
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
Saxon-HE (home edition) is an open source product available under the Mozilla Public License. It pro...
What Is mail.jar of JavaMail 1.4? I got the JAR file from javamail-1_4.zip. mail.jar in javamail-1_4...
Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. Ap...