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 17 jdk.crypto.cryptoki.jmod - Crypto KI Module
JDK 17 jdk.crypto.cryptoki.jmod is the JMOD file for JDK 17 Crypto Cryptoki module.
JDK 17 Crypto KI module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.crypto.cryptoki.jmod.
JDK 17 Crypto KI module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Crypto KI module source code files are stored in \fyicenter\jdk-17.0.5\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/wrapper/CK_RSA_PKCS_PSS_PARAMS.java
/* * Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.security.pkcs11.wrapper; import java.security.ProviderException; import java.security.spec.PSSParameterSpec; import java.security.spec.MGF1ParameterSpec; /** * This class represents the necessary parameters required by the * CKM_RSA_PKCS_PSS mechanism as defined in CK_RSA_PKCS_PSS_PARAMS structure.<p> * <B>PKCS#11 structure:</B> * <PRE> * typedef struct CK_RSA_PKCS_PSS_PARAMS { * CK_MECHANISM_TYPE hashAlg; * CK_RSA_PKCS_MGF_TYPE mgf; * CK_ULONG sLen; * } CK_RSA_PKCS_PSS_PARAMS; * </PRE> * * @since 13 */ public class CK_RSA_PKCS_PSS_PARAMS { private final long hashAlg; private final long mgf; private final long sLen; public CK_RSA_PKCS_PSS_PARAMS(String hashAlg, String mgfAlg, String mgfHash, int sLen) { this.hashAlg = Functions.getHashMechId(hashAlg); if (!mgfAlg.equals("MGF1")) { throw new ProviderException("Only MGF1 is supported"); } // no dash in PKCS#11 mechanism names if (mgfHash.startsWith("SHA3-")) { mgfHash = mgfHash.replaceFirst("-", "_"); } else { mgfHash = mgfHash.replaceFirst("-", ""); } this.mgf = Functions.getMGFId("CKG_MGF1_" + mgfHash); this.sLen = sLen; } @Override public boolean equals(Object o) { if (o == this) { return true; } if (!(o instanceof CK_RSA_PKCS_PSS_PARAMS)) { return false; } CK_RSA_PKCS_PSS_PARAMS other = (CK_RSA_PKCS_PSS_PARAMS) o; return ((other.hashAlg == hashAlg) && (other.mgf == mgf) && (other.sLen == sLen)); } @Override public int hashCode() { return (int)(hashAlg << 2 + mgf << 1 + sLen); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Constants.INDENT); sb.append("hashAlg: "); sb.append(Functions.toFullHexString(hashAlg)); sb.append(Constants.NEWLINE); sb.append(Constants.INDENT); sb.append("mgf: "); sb.append(Functions.toFullHexString(mgf)); sb.append(Constants.NEWLINE); sb.append(Constants.INDENT); sb.append("sLen(in bytes): "); sb.append(sLen); return sb.toString(); } }
⏎ sun/security/pkcs11/wrapper/CK_RSA_PKCS_PSS_PARAMS.java
Or download all of them as a single archive file:
File name: jdk.crypto.cryptoki-17.0.5-src.zip File size: 239109 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.crypto.ec.jmod - Crypto EC Module
2023-10-15, 3900👍, 0💬
Popular Posts:
What Is HttpComponents httpcore-4.4.6.jar? HttpComponents httpcore-4.4.6.jar is the JAR file for Apa...
Swingx is the SwingLabs Swing Component Extensions. JAR File Size and Download Location: File name: ...
commons-lang-2.6.jar is the JAR file for Apache Commons Lang 2.6, which provides a host of helper ut...
JDK 11 java.sql.rowset.jmod is the JMOD file for JDK 11 SQL Rowset module. JDK 11 SQL Rowset module ...
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...