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 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes:
"C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/security/Signer.java
/* * @(#)Signer.java 1.25 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.security; import java.io.*; /** * This class is used to represent an Identity that can also digitally * sign data. * * <p>The management of a signer's private keys is an important and * sensitive issue that should be handled by subclasses as appropriate * to their intended use. * * @see Identity * * @version 1.22, 01/31/97 * @author Benjamin Renaud */ public abstract class Signer extends Identity { private PrivateKey privateKey; /** * Creates a signer. This constructor should only be used for * serialization. */ protected Signer() { super(); } /** * Creates a signer with the specified identity name. * * @param name the identity name. */ public Signer(String name) { super(name); } /** * Creates a signer with the specified identity name and scope. * * @param name the identity name. * * @param scope the scope of the identity. * * @exception KeyManagementException if there is already an identity * with the same name in the scope. */ public Signer(String name, IdentityScope scope) throws KeyManagementException { super(name, scope); } /** * Returns this signer's private key. * * @return this signer's private key, or null if the private key has * not yet been set. */ public PrivateKey getPrivateKey() { check("get.private.key"); return privateKey; } /** * Sets the key pair (public key and private key) for this signer. * * @param pair an initialized key pair. * * @exception InvalidParameterException if the key pair is not * properly initialized. * @exception KeyException if the key pair cannot be set for any * other reason. */ public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException { check("set.private.keypair"); PublicKey pub = pair.getPublic(); PrivateKey priv = pair.getPrivate(); if (pub == null || priv == null) { throw new InvalidParameterException(); } setPublicKey(pub); privateKey = priv; } String printKeys() { String keys = ""; PublicKey publicKey = getPublicKey(); if (publicKey != null && privateKey != null) { keys = "\tpublic and private keys initialized"; } else { keys = "\tno keys"; } return keys; } /** * Returns a string of information about the signer. * * @return a string of information about the signer. */ public String toString() { return "[Signer]" + super.toString(); } }
⏎ java/security/Signer.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 176081👍, 0💬
Popular Posts:
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
What Is poi-scratchpad-5.2.3.jar ?poi-scratchpad-5.2.3.jar is one of the JAR files for Apache POI 5....
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java...
How to download and install ojdbc11.jar for Oracle 21c? ojdbc11.jar for Oracle 21c is a Java JDBC Dr...
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.1? The if you...