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.base.jmod - Base Module
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module.
JDK 11 Base module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.base.jmod.
JDK 11 Base module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Base module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/security/cert/LDAPCertStoreParameters.java
/* * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.security.cert; /** * Parameters used as input for the LDAP {@code CertStore} algorithm. * <p> * This class is used to provide necessary configuration parameters (server * name and port number) to implementations of the LDAP {@code CertStore} * algorithm. However, if you are retrieving certificates or CRLs from * an ldap URI as specified by RFC 5280, use the * {@link java.security.cert.URICertStoreParameters URICertStoreParameters} * instead as the URI may contain additional information such as the * distinguished name that will help the LDAP CertStore find the specific * certificates and CRLs. * <p> * <b>Concurrent Access</b> * <p> * Unless otherwise specified, the methods defined in this class are not * thread-safe. Multiple threads that need to access a single * object concurrently should synchronize amongst themselves and * provide the necessary locking. Multiple threads each manipulating * separate objects need not synchronize. * * @since 1.4 * @author Steve Hanna * @see CertStore */ public class LDAPCertStoreParameters implements CertStoreParameters { private static final int LDAP_DEFAULT_PORT = 389; /** * the port number of the LDAP server */ private int port; /** * the DNS name of the LDAP server */ private String serverName; /** * Creates an instance of {@code LDAPCertStoreParameters} with the * specified parameter values. * * @param serverName the DNS name of the LDAP server * @param port the port number of the LDAP server * @exception NullPointerException if {@code serverName} is * {@code null} */ public LDAPCertStoreParameters(String serverName, int port) { if (serverName == null) throw new NullPointerException(); this.serverName = serverName; this.port = port; } /** * Creates an instance of {@code LDAPCertStoreParameters} with the * specified server name and a default port of 389. * * @param serverName the DNS name of the LDAP server * @exception NullPointerException if {@code serverName} is * {@code null} */ public LDAPCertStoreParameters(String serverName) { this(serverName, LDAP_DEFAULT_PORT); } /** * Creates an instance of {@code LDAPCertStoreParameters} with the * default parameter values (server name "localhost", port 389). */ public LDAPCertStoreParameters() { this("localhost", LDAP_DEFAULT_PORT); } /** * Returns the DNS name of the LDAP server. * * @return the name (not {@code null}) */ public String getServerName() { return serverName; } /** * Returns the port number of the LDAP server. * * @return the port number */ public int getPort() { return port; } /** * Returns a copy of this object. Changes to the copy will not affect * the original and vice versa. * <p> * Note: this method currently performs a shallow copy of the object * (simply calls {@code Object.clone()}). This may be changed in a * future revision to perform a deep copy if new parameters are added * that should not be shared. * * @return the copy */ public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { /* Cannot happen */ throw new InternalError(e.toString(), e); } } /** * Returns a formatted string describing the parameters. * * @return a formatted string describing the parameters */ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("LDAPCertStoreParameters: [\n"); sb.append(" serverName: " + serverName + "\n"); sb.append(" port: " + port + "\n"); sb.append("]"); return sb.toString(); } }
⏎ java/security/cert/LDAPCertStoreParameters.java
Or download all of them as a single archive file:
File name: java.base-11.0.1-src.zip File size: 8740354 bytes Release date: 2018-11-04 Download
2020-05-29, 202172👍, 0💬
Popular Posts:
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.6.1-src.zip...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...