aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/security/SignatureSpi.java
AgeCommit message (Collapse)AuthorFilesLines
2003-04-19Makefile.in: Rebuilt.Tom Tromey1-127/+175
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added new files. * java/security/AlgorithmParameterGenerator.java, java/security/AlgorithmParameters.java, java/security/Engine.java, java/security/Identity.java, java/security/IdentityScope.java, java/security/KeyFactory.java, java/security/KeyPairGenerator.java, java/security/KeyStore.java, java/security/MessageDigest.java, java/security/Policy.java, java/security/ProtectionDomain.java, java/security/SecureRandom.java, java/security/Security.java, java/security/Signature.java, java/security/SignatureSpi.java, java/security/SignedObject.java, java/security/Signer.java, java/security/interfaces/RSAMultiPrimePrivateCrtKey.java, java/security/spec/PSSParameterSpec.java, java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java, java/security/spec/RSAOtherPrimeInfo.java: New versions from Classpath. From-SVN: r65829
2002-01-22Add license clarification.Mark Wielaard1-5/+16
From-SVN: r49104
2001-04-25decl.c (init_decl_processing): Add new class "protectionDomain" field.Bryce McKinlay1-0/+243
gcc/java: 2001-04-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * decl.c (init_decl_processing): Add new class "protectionDomain" field. * class.c (make_class_data): Set initial value for "protectionDomain". libjava: 2001-04-25 Bryce McKinlay <bryce@albatross.co.nz> java.security merge and ClassLoader compliance fixes. * java/lang/Class.h (Class): Include ProtectionDomain.h. New protectionDomain field. (forName): Add initialize parameter. Fixes declaration to comply with JDK spec. * java/lang/natClass.cc (forName): Correct declaration of the three-arg variant. Honour "initialize" flag. (getProtectionDomain0): New method. * java/lang/Class.java: Fix forName() declaration. (getPackage): New method based on Classpath implementation. (getProtectionDomain0): New native method decl. (getProtectionDomain): New method. * java/lang/ClassLoader.java (getParent): Now final. (definedPackages): New field. (getPackage): New. (defineClass): New variant with protectionDomain argument. (definePackage): New. (getPackages): New. (findSystemClass): Now final. (getSystemResourceAsStream): Remove redundant "final" modifier. (getSystemResource): Remove redundant "final" modifier. (getResources): Now final. (protectionDomainPermission): New static field. (unknownProtectionDomain): Ditto. (defaultProtectionDomain): Ditto. (getSystemClassLoader): Now non-native. * java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct arguments for Class.forName(). * java/lang/Package.java: New file. * gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed. (instance): Static initialize singleton. (findClass): Override this, not findSystemClass. * java/lang/natClassLoader.cc (defineClass0): Set class's protectionDomain field as specified. (getSystemClassLoader): Removed. (findClass): Renamed from findSystemClass. Call the interpreter via URLClassLoader.findClass if loading class via dlopen fails. * java/security/*.java: java.security import/merge with Classpath. * java/security/acl/*.java: Likewise. * java/security/interfaces/*.java: Likewise. * java/security/spec/*.java: Likewise. * java/net/NetPermission.java: Likewise. * java/net/SocketPermission.java: Likewise. * gnu/java/security/provider/DefaultPolicy.java: Likewise. * Makefile.am: Add new classes. * Makefile.in: Rebuilt. * gcj/javaprims.h: CNI namespace rebuild. From-SVN: r41543
r choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ package java.io; /** * This interface contains constants that are used in object * serialization. This interface is used by <code>ObjectOutputStream</code>, * <code>ObjectInputStream</code>, and <code>ObjectStreamClass</code>. * The values for these constants are specified by the Java library * specification. */ public interface ObjectStreamConstants { // FIXME: Javadoc comment these values. int PROTOCOL_VERSION_1 = 1; int PROTOCOL_VERSION_2 = 2; short STREAM_MAGIC = (short)0xaced; short STREAM_VERSION = 5; byte TC_NULL = (byte)112; //0x70 byte TC_REFERENCE = (byte)113; //0x71 byte TC_CLASSDESC = (byte)114; //0x72 byte TC_OBJECT = (byte)115; //0x73 byte TC_STRING = (byte)116; //0x74 byte TC_ARRAY = (byte)117; //0x75 byte TC_CLASS = (byte)118; //0x76 byte TC_BLOCKDATA = (byte)119; //0x77 byte TC_ENDBLOCKDATA = (byte)120; //0x78 byte TC_RESET = (byte)121; //0x79 byte TC_BLOCKDATALONG = (byte)122; //0x7A byte TC_EXCEPTION = (byte)123; //0x7B byte TC_LONGSTRING = (byte)124; //0x7C byte TC_PROXYCLASSDESC = (byte)125; //0x7D byte TC_BASE = TC_NULL; byte TC_MAX = TC_PROXYCLASSDESC; int baseWireHandle = 0x7e0000; byte SC_WRITE_METHOD = 0x01; byte SC_SERIALIZABLE = 0x02; byte SC_EXTERNALIZABLE = 0x04; byte SC_BLOCK_DATA = 0x08; SerializablePermission SUBSTITUTION_PERMISSION = new SerializablePermission("enableSubstitution"); SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION = new SerializablePermission("enableSubclassImplementation"); }