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 java.security.jgss.jmod - Security JGSS Module
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Service) module.
JDK 11 Security JGSS module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.security.jgss.jmod.
JDK 11 Security JGSS module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Security JGSS module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.security.jgss.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/security/jgss/wrapper/GSSLibStub.java
/* * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.security.jgss.wrapper; import java.util.Hashtable; import org.ietf.jgss.Oid; import org.ietf.jgss.GSSName; import org.ietf.jgss.ChannelBinding; import org.ietf.jgss.MessageProp; import org.ietf.jgss.GSSException; import sun.security.jgss.GSSUtil; /** * This class is essentially a JNI calling stub for all wrapper classes. * * @author Valerie Peng * @since 1.6 */ class GSSLibStub { private Oid mech; private long pMech; /** * Initialization routine to dynamically load function pointers. * * @param lib library name to dlopen * @param debug set to true for reporting native debugging info * @return true if succeeded, false otherwise. */ static native boolean init(String lib, boolean debug); private static native long getMechPtr(byte[] oidDerEncoding); // Miscellaneous routines static native Oid[] indicateMechs(); native Oid[] inquireNamesForMech() throws GSSException; // Name related routines native void releaseName(long pName); native long importName(byte[] name, Oid type); native boolean compareName(long pName1, long pName2); native long canonicalizeName(long pName); native byte[] exportName(long pName) throws GSSException; native Object[] displayName(long pName) throws GSSException; // Credential related routines native long acquireCred(long pName, int lifetime, int usage) throws GSSException; native long releaseCred(long pCred); native long getCredName(long pCred); native int getCredTime(long pCred); native int getCredUsage(long pCred); // Context related routines native NativeGSSContext importContext(byte[] interProcToken); native byte[] initContext(long pCred, long targetName, ChannelBinding cb, byte[] inToken, NativeGSSContext context); native byte[] acceptContext(long pCred, ChannelBinding cb, byte[] inToken, NativeGSSContext context); native long[] inquireContext(long pContext); native Oid getContextMech(long pContext); native long getContextName(long pContext, boolean isSrc); native int getContextTime(long pContext); native long deleteContext(long pContext); native int wrapSizeLimit(long pContext, int flags, int qop, int outSize); native byte[] exportContext(long pContext); native byte[] getMic(long pContext, int qop, byte[] msg); native void verifyMic(long pContext, byte[] token, byte[] msg, MessageProp prop) ; native byte[] wrap(long pContext, byte[] msg, MessageProp prop); native byte[] unwrap(long pContext, byte[] msgToken, MessageProp prop); private static Hashtable<Oid, GSSLibStub> table = new Hashtable<Oid, GSSLibStub>(5); static GSSLibStub getInstance(Oid mech) throws GSSException { GSSLibStub s = table.get(mech); if (s == null) { s = new GSSLibStub(mech); table.put(mech, s); } return s; } private GSSLibStub(Oid mech) throws GSSException { SunNativeProvider.debug("Created GSSLibStub for mech " + mech); this.mech = mech; this.pMech = getMechPtr(mech.getDER()); } public boolean equals(Object obj) { if (obj == this) return true; if (!(obj instanceof GSSLibStub)) { return false; } return (mech.equals(((GSSLibStub) obj).getMech())); } public int hashCode() { return mech.hashCode(); } Oid getMech() { return mech; } }
⏎ sun/security/jgss/wrapper/GSSLibStub.java
Or download all of them as a single archive file:
File name: java.security.jgss-11.0.1-src.zip File size: 216236 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.security.sasl.jmod - Security SASL Module
2020-09-15, 29812👍, 0💬
Popular Posts:
What JAR files are required to run sax\Writer.java provided in the Apache Xerces package? 1 JAR file...
JDK 8 tools.jar is the JAR file for JDK 8 tools. It contains Java classes to support different JDK t...
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...
Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. Ap...
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...