Edit C:\Users\Admin\.m2\repository\org\dspace\handle\6.2\net\handle\server\CacheServer.class
???? 0? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! " #$% ?&' C() ?* C+ , -./ 0 1 2 E3456 Q ? ?7 ?8 9: ?; < => =? =@ ?AB ?CDE FGH aI ?JK ?LM ?N fO ?PQR jS dT dU 9V WXYZ[ ?\] ?^_ ?`a ?bcde ?fghi MSG_INTERNAL_ERROR [B MSG_OUT_OF_DATE_SITE_INFO MSG_WRONG_SERVER_HASH MSG_INVALID_REQUEST MSG_NOT_A_PRIMARY MSG_CHALLENGE_NOT_FOUND MSG_SERVER_TIMED_OUT THIS_SERVER_ID Ljava/lang/String; ConstantValue SERVER_ADMINS SITE_INFO_FILE PRIVATE_KEY_FILE CACHE_STORAGE_FILE RECURSION_LIMIT I TRANSACTION_LOCK NEXT_TXN_ID_LOCK SIGN_TEST keepRunning Z serverAdmins #[Lnet/handle/hdllib/ValueReference; cache Lnet/handle/hdllib/Cache; thisSite Lnet/handle/hdllib/SiteInfo; thisServerNum serverSignature Ljava/security/Signature; <init> 8(Lnet/handle/server/Main;Lnet/handle/util/StreamTable;)V Code LineNumberTable LocalVariableTable i thisId site siteInfoFile Ljava/io/File; siteInfoBuf e Ljava/lang/Exception; r privateKeyFile in Ljava/io/FileInputStream; encKeyBytes n secKey keyBytes privKey Ljava/security/PrivateKey; pubKey Ljava/security/PublicKey; testSig verifier adminStr colIdx adminVect Ljava/util/Vector; this Lnet/handle/server/CacheServer; main Lnet/handle/server/Main; config Lnet/handle/util/StreamTable; Exceptions processRequest Q(Lnet/handle/hdllib/AbstractRequest;Lnet/handle/hdllib/ResponseMessageCallback;)V req #Lnet/handle/hdllib/AbstractRequest; callback +Lnet/handle/hdllib/ResponseMessageCallback; sendResponse R(Lnet/handle/hdllib/ResponseMessageCallback;Lnet/handle/hdllib/AbstractResponse;)V response $Lnet/handle/hdllib/AbstractResponse; ?(Lnet/handle/hdllib/AbstractRequest;Lnet/handle/hdllib/ChallengeResponse;Lnet/handle/hdllib/ChallengeAnswerRequest;Lnet/handle/hdllib/ResponseMessageCallback;)V cRes %Lnet/handle/hdllib/ChallengeResponse; crReq *Lnet/handle/hdllib/ChallengeAnswerRequest; doResolution ?(Lnet/handle/hdllib/ResolutionRequest;Lnet/handle/hdllib/ChallengeResponse;Lnet/handle/hdllib/ChallengeAnswerRequest;)Lnet/handle/hdllib/AbstractResponse; %Lnet/handle/hdllib/ResolutionRequest; shutdown ()V <clinit> SourceFile CacheServer.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? this_server_idjkl java/lang/Stringmno net/handle/hdllib/SiteInfo ? ? java/io/Filepqr siteinfo.bin ?stuvu java/lang/Exception java/lang/StringBuffer (Missing or inaccessible site info file: wxyz{z ?|}~ java/io/FileInputStream ?????????? ? Server ID w? not found in site_info record!??? #Invalid site/server specification: w???| SHA1withDSA??? privkey.bin *Missing or inaccessible private key file: ?Run net.server.ServerKeyGenerator to generate a new set of keys????? 4Enter the passphrase for this server's private key: ????????? ??? ? ??????z???? 4Private key doesn't match public key from site info! server_admins?? java/util/Vector?? net/handle/hdllib/ValueReference ? ??????? "Invalid server administrator ID: " "?????? ?? ,Error processing server administrator list: net/handle/hdllib/JDBCache cache.jdb ? ?????? ? ?? ??? ?? ??? ? ? Exception signing response: ??????? ? %net/handle/hdllib/GetSiteInfoResponse ?? ? ? #net/handle/hdllib/ResolutionRequest ? ? net/handle/hdllib/ErrorResponse ? ? ?? ? ? !net/handle/hdllib/HandleException Unknown operation: ????? ? ????? : error getting values: for request Internal Error ? ? Site info out of date ? ? Request was hashed incorrectly ? ? Request was invalid ? ? Server is read-only Challenge not found Server timed out ? ? Testing...1..2..3 net/handle/server/CacheServer net/handle/server/AbstractServer net/handle/util/StreamTable get &(Ljava/lang/Object;)Ljava/lang/Object; java/lang/Integer parseInt (Ljava/lang/String;)I net/handle/server/Main getConfigDir ()Ljava/io/File; #(Ljava/io/File;Ljava/lang/String;)V exists ()Z canRead append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; getAbsolutePath ()Ljava/lang/String; toString (Ljava/lang/String;)V length ()J (Ljava/io/File;)V read ([B)I net/handle/hdllib/Encoder decodeSiteInfoRecord "([BILnet/handle/hdllib/SiteInfo;)V servers [Lnet/handle/hdllib/ServerInfo; net/handle/hdllib/ServerInfo serverId (I)Ljava/lang/StringBuffer; java/lang/System err Ljava/io/PrintStream; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; java/io/PrintStream println java/security/Signature getInstance -(Ljava/lang/String;)Ljava/security/Signature; ([BII)I net/handle/hdllib/Util requiresSecretKey ([B)Z getPassphrase (Ljava/lang/String;)[B decrypt ([B[B)[B getPrivateKeyFromBytes ([BI)Ljava/security/PrivateKey; initSign (Ljava/security/PrivateKey;)V publicKey getPublicKeyFromBytes ([BI)Ljava/security/PublicKey; update ([B)V sign ()[B getAlgorithm initVerify (Ljava/security/PublicKey;)V verify containsKey (Ljava/lang/Object;)Z size ()I elementAt (I)Ljava/lang/Object; valueOf &(Ljava/lang/Object;)Ljava/lang/String; indexOf (I)I substring (I)Ljava/lang/String; encodeString (II)Ljava/lang/String; ([BI)V resolver "Lnet/handle/hdllib/HandleResolver; net/handle/hdllib/HandleResolver setCache (Lnet/handle/hdllib/Cache;)V serialNumber "net/handle/hdllib/AbstractResponse siteInfoSerial certify signMessage (Ljava/security/Signature;)V logError (ILjava/lang/String;)V )net/handle/hdllib/ResponseMessageCallback handleResponse '(Lnet/handle/hdllib/AbstractResponse;)V !net/handle/hdllib/AbstractRequest opCode B(Lnet/handle/hdllib/AbstractRequest;Lnet/handle/hdllib/SiteInfo;)V )(Lnet/handle/hdllib/AbstractRequest;I[B)V recursionCount S clearBuffers I(Lnet/handle/hdllib/AbstractRequest;)Lnet/handle/hdllib/AbstractResponse; java/lang/Object getClass ()Ljava/lang/Class; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? A ? ? ? ? ? ? . ? ? ? R ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? G*+,? *? *? *? *? *? *? , ? ? ? >? Y? :? Y+? ? :? ? ? ? "? Y? Y? ? ? ? ? ? ?? ??:? Y? ? !W? "*? 6? #?? ? #2? $? *? ????*? ? #? Y? Y? %? ? &'? ? ? ?*? ? N? (? Y? )? -? *? ? +-?*,? -? ? Y+? .? N-? ? -? ? E? (? Y? /? -? ? ? ? +? (0? +? Y? Y? /? -? ? ? ? ?? Y-? :-? ??:6?? "?d? 1Y6? `6???:? 2? 3? 4:? 5: 6 ? ?? T? ??? ? 6: *? ? 76 ?? T????*? ? #*? 2? 8? 9:*? ? :? ;*? ? <:*? ? =? -: ? > ? :? ; ? ?? ? Y@? ?? N-?,A? B? ?,A? ? CN*-? D? E? F6-? D? h-? G? H::? I6? $? Y? Y? J? ? K? ? ? ?*? F? EY`? L? M? N? ? OS????? N? Y? Y? P? -? *? ? ?*? QY? Y+? R? ? S? T*? U*? T? V? &