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.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/Key.java
/* * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.security.mscapi; import sun.security.util.Length; /** * The handle for an RSA or DSA key using the Microsoft Crypto API. * * @see RSAPrivateKey * @see RSAPublicKey * * @since 1.6 * @author Stanley Man-Kit Ho */ abstract class Key implements java.security.Key, Length { private static final long serialVersionUID = -1088859394025049194L; static class NativeHandles { long hCryptProv = 0; long hCryptKey = 0; public NativeHandles(long hCryptProv, long hCryptKey) { this.hCryptProv = hCryptProv; this.hCryptKey = hCryptKey; } /** * Finalization method */ @SuppressWarnings("deprecation") protected void finalize() throws Throwable { try { synchronized(this) { cleanUp(hCryptProv, hCryptKey); hCryptProv = 0; hCryptKey = 0; } } finally { super.finalize(); } } } protected NativeHandles handles; // Key length protected int keyLength = 0; /** * Construct a Key object. */ protected Key(NativeHandles handles, int keyLength) { this.handles = handles; this.keyLength = keyLength; } /** * Native method to cleanup the key handle. */ private native static void cleanUp(long hCryptProv, long hCryptKey); /** * Return bit length of the key. */ @Override public int length() { return keyLength; } /** * Return native HCRYPTKEY handle. */ public long getHCryptKey() { return handles.hCryptKey; } /** * Return native HCRYPTPROV handle. */ public long getHCryptProvider() { return handles.hCryptProv; } /** * Returns the standard algorithm name for this key. For * example, "RSA" would indicate that this key is a RSA key. * See Appendix A in the <a href= * "../../../guide/security/CryptoSpec.html#AppA"> * Java Cryptography Architecture API Specification & Reference </a> * for information about standard algorithm names. * * @return the name of the algorithm associated with this key. */ public abstract String getAlgorithm(); /** * Returns the name of the primary encoding format of this key, * or null if this key does not support encoding. * The primary encoding format is * named in terms of the appropriate ASN.1 data format, if an * ASN.1 specification for this key exists. * For example, the name of the ASN.1 data format for public * keys is <I>SubjectPublicKeyInfo</I>, as * defined by the X.509 standard; in this case, the returned format is * <code>"X.509"</code>. Similarly, * the name of the ASN.1 data format for private keys is * <I>PrivateKeyInfo</I>, * as defined by the PKCS #8 standard; in this case, the returned format is * <code>"PKCS#8"</code>. * * @return the primary encoding format of the key. */ public String getFormat() { return null; } /** * Returns the key in its primary encoding format, or null * if this key does not support encoding. * * @return the encoded key, or null if the key does not support * encoding. */ public byte[] getEncoded() { return null; } protected native static String getContainerName(long hCryptProv); protected native static String getKeyType(long hCryptKey); }
⏎ sun/security/mscapi/Key.java
Or download all of them as a single archive file:
File name: jdk.crypto.mscapi-11.0.1-src.zip File size: 25365 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.dynalink.jmod - Dynamic Linking Module
2020-08-02, 16022👍, 1💬
Popular Posts:
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
commons-lang-2.6.jar is the JAR file for Apache Commons Lang 2.6, which provides a host of helper ut...