Edit C:\Users\Admin\.m2\repository\org\dspace\handle\6.2\net\handle\apps\batch\GenericBatch.class
???? 0? -? 5?? ? -? -? -? -? -? -? -? -? -? - - - - - - - - - - - - - - - - &? ( ( & !" .# -$ %& '() 6*+ 8,-? :*.? =/0 @*1? B2 34 56 G?7 G89 K? G: G; -( -< (= ? ? > ?@ ?ABC ?D ?E ?FG ?H -IJ -KL -MN -OP -QR -ST -UVW -X YZ G[\]^_`abc@?@ Gdefgh ?i ?j klm -=no ?pq rs ?tuvwx ?p ?y ?z{ ?| }~ } r? r?? ???? ??? -?? 6? 6? 6? 6? ? ?????? 8? 8? 8?? :? :? :? :?? @? @? @? @???? -?? =? =? =? =??? ?? B? ?? ?? ?? ??? ??? ??? B? B? 3? r?? B? B? ?? ??? ??? ?? r? ?? ???????? r?????? (? (? (? (??? ??? ?? -? ?? ??? ??? ?? ??? ?? ???? ?? ?? ?? ??? ?? ???? ? ??? ? ? ??? ?? ????? ???? ? ????? -??? ?p??? ) ( - ( ? 2p - ENCODING Ljava/lang/String; ConstantValue AUTH_STR SECKEY_STR PUBKEY_STR CREATE_STR DELETE_STR ADD_STR MODIFY_STR REMOVE_STR HOME_STR UNHOME_STR SEPA_STR NEW_LINE ADMIN_STR FILE_STR LIST_STR debug Z SESSION_STR resolver "Lnet/handle/hdllib/HandleResolver; sessionTracker (Lnet/handle/hdllib/ClientSessionTracker; lineNum J totalAcc errAcc succAcc authInfo &Lnet/handle/hdllib/AuthenticationInfo; log Ljava/io/PrintWriter; batchReader Ljava/io/BufferedReader; createReq 'Lnet/handle/hdllib/CreateHandleRequest; deleteReq 'Lnet/handle/hdllib/DeleteHandleRequest; addReq #Lnet/handle/hdllib/AddValueRequest; removeReq &Lnet/handle/hdllib/RemoveValueRequest; modifyReq &Lnet/handle/hdllib/ModifyValueRequest; homeNAReq "Lnet/handle/hdllib/GenericRequest; siteReq stopFlag sessionFlagToken sessionPubExngKeyFileToken sessionPubExngKeyRefToken sessionPrivExngKeyFileToken sessionPrivExngKeyPasspraseToken sessionOptionsToken sessionTimeoutToken <init> V(Ljava/io/BufferedReader;Lnet/handle/hdllib/AuthenticationInfo;Ljava/io/PrintWriter;)V Code LineNumberTable LocalVariableTable this $Lnet/handle/apps/batch/GenericBatch; Exceptions ~(Ljava/io/BufferedReader;Lnet/handle/hdllib/AuthenticationInfo;Ljava/io/PrintWriter;Lnet/handle/hdllib/ClientSessionTracker;)V sessTracker sessionInfo $Lnet/handle/hdllib/SessionSetupInfo; processBatch ()V tmpAuth sinfo commandStr restLine sepaInd I line endTime startTime stopBatch getAuthInfoFromBatch :(Ljava/lang/String;)Lnet/handle/hdllib/AuthenticationInfo; password seckeyAuthInfo /Lnet/handle/hdllib/SecretKeyAuthenticationInfo; keyFile Ljava/io/File; inLine pipeInd passphrase rawKey [B in Ljava/io/InputStream; n r keyBytes privateKey Ljava/security/PrivateKey; pubkeyAuthInfo /Lnet/handle/hdllib/PublicKeyAuthenticationInfo; token Ljava/util/StringTokenizer; e Ljava/lang/Exception; keyStr index handleStr processCreate (Ljava/lang/String;)V values [Lnet/handle/hdllib/HandleValue; response $Lnet/handle/hdllib/AbstractResponse; processDelete processAdd processModify processRemove indexes [I colonInd processHomeNA (Ljava/lang/String;Z)V i #Lnet/handle/hdllib/HandleException; naHandle st svrAddr Ljava/net/InetAddress; siteInfo Lnet/handle/hdllib/SiteInfo; flag homeFlag ipstr port protocol getSessionSetupInfo &()Lnet/handle/hdllib/SessionSetupInfo; indexPos hdlString sessionLinePrefix sessionLineContent Ljava/lang/Throwable; secretKey sessionLine ssinfo useSession pubkeyBytes exchangeKeyHandle exchangeKeyIndex privKeyFile passpraze encrypted authenticated timeout readLine ()Ljava/lang/String; readIndexArray (Ljava/lang/String;)[I readHandleValueArray "()[Lnet/handle/hdllib/HandleValue; hv Lnet/handle/hdllib/HandleValue; vt Ljava/util/Vector; readHandleValue 3(Ljava/lang/String;)Lnet/handle/hdllib/HandleValue; record Lnet/handle/hdllib/AdminRecord; filename file j stt refs #[Lnet/handle/hdllib/ValueReference; substr printUsage main ([Ljava/lang/String;)V f Ljava/io/FileInputStream; batch e1 args [Ljava/lang/String; reader <clinit> SourceFile GenericBatch.javaowo| net/handle/hdllib/HandleResolverKLMNOPQPRPSPTUVWXYZ[\]^_`abcdefegI USESESSION:h7 PUBEXNGKEYFILE:i7 PUBEXNGKEYREF:j7 PRIVEXNGKEYFILE:k7 PASSPHRASE:l7 OPTIONS:m7 TIMEOUT:n7HII &net/handle/hdllib/ClientSessionTracker "net/handle/hdllib/SessionSetupInfoo ?I java/io/PrintWriter java/io/OutputStreamWriter UTF8oo &Batch process prints log on stdout ...? %net/handle/hdllib/CreateHandleRequesto %net/handle/hdllib/DeleteHandleRequesto !net/handle/hdllib/AddValueRequest $net/handle/hdllib/RemoveValueRequesto $net/handle/hdllib/ModifyValueRequest net/handle/hdllib/GenericRequesto? java/lang/StringBuffer Start Time: java/util/Date !?"|??#|$%?&' ()*?+, AUTHENTICATE-.?? CREATE?? DELETE?? ADD?? REMOVE?? MODIFY?? HOME?? UNHOME SESSIONSETUP??/0 ==>INVALID[1 ]: error in command line Successes/Total Entries: / Batch File Lines: Finish Time: This batch took seconds to complete at an average speed of 2 operations/second Stop batch process ... java/util/StringTokenizer :o34?56) SECKEY java/lang/Exception Secret key without passwordo? -net/handle/hdllib/SecretKeyAuthenticationInfo789o: PUBKEY Private key without key file | java/io/File+;& java/io/FileInputStreamo<=>?@|ABCD -net/handle/hdllib/PublicKeyAuthenticationInfooE ]: error in authentication lines ]: error in authentication: F? ]: error in handle name string?? ]: no handle values for G???H|IJKL? ==>SUCCESS[ ]: create: ==>FAILURE[ : ]: delete: ]: add values: ]: modify values: ]: error in remove handle line ]: error in indexes string?? ']: no handle name at remove handle line?? ]: remove values: ]: error in homeNA handle lineMNOPIQR TCPST UDPUT HTTPVT ]: error in protocol string %net/handle/hdllib/GetSiteInfoResponse?? 4]: error in home/unhome NA handle, invalide server: WXI F]: error in home/unhome NA handle, invalide server: not primary serverY?Z?[\ ]: invalid NA handle name: ]^_` ]: home/unhome: !net/handle/hdllib/HandleException ]: error in home/unhome:abcd(efg ==>INVALID [ $]: Error specifying session options. %]: Error specifying session time out. ( Default or previous value will be used. )]: Not predefined session line encounted. U]: error in sessionsetup lines, public exchange key dupli-defined. Session not setup.hi _]: error in sessionsetup lines, passphrase for private exchange key missed. Session not setup. K]: error in sessionsetup lines, passphrase for private exchange key wrong! Session not setup. java/lang/Throwable C]: error in sessionsetup lines, can't decrypt private exchange key!ojok?I?? ]: error in session setup: ,l' java/util/Vector??mno' net/handle/hdllib/HandleValuepq ]: rs %]: error in handle value index stringtuvs #]: error in handle value ttl string *]: error in handle value permission stringwRxRyRzR 4{|u ADMIN net/handle/hdllib/AdminRecord}? ]: error in admin index string #]: error in admin permission string~????? FILE???? ]: error public key file: LIST ;?? ]: error admin handle string net/handle/hdllib/ValueReferenceo??? &]: error in handle data type string: ' ' FUsage: java net.handle.apps.batch.GenericBatch <batchfile> [<LogFile>]?| Batch( ) process started ... java/io/BufferedReader java/io/InputStreamReader UTF-8o?o? "net/handle/apps/batch/GenericBatch{| Batch process finished?? java/io/FileWriter java/lang/Object traceMessages )(Lnet/handle/hdllib/AuthenticationInfo;)V setSessionSetupInfo '(Lnet/handle/hdllib/SessionSetupInfo;)V setSessionTracker +(Lnet/handle/hdllib/ClientSessionTracker;)V java/lang/System out Ljava/io/PrintStream; +(Ljava/io/OutputStream;Ljava/lang/String;)V (Ljava/io/Writer;Z)V err java/io/PrintStream println K([B[Lnet/handle/hdllib/HandleValue;Lnet/handle/hdllib/AuthenticationInfo;)V +([BLnet/handle/hdllib/AuthenticationInfo;)V -([B[ILnet/handle/hdllib/AuthenticationInfo;)V ,([BILnet/handle/hdllib/AuthenticationInfo;)V net/handle/hdllib/Common BLANK_HANDLE currentTimeMillis ()J append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; toString flush gc java/lang/String trim length ()I indexOf (Ljava/lang/String;)I toUpperCase substring (II)Ljava/lang/String; equals (Ljava/lang/Object;)Z getSessionTracker *()Lnet/handle/hdllib/ClientSessionTracker; (J)Ljava/lang/StringBuffer; (D)Ljava/lang/StringBuffer; '(Ljava/lang/String;Ljava/lang/String;)V nextToken java/lang/Integer parseInt net/handle/hdllib/Util encodeString (Ljava/lang/String;)[B ([BI[B)V (I)Ljava/lang/String; (Ljava/io/File;)V java/io/InputStream read ([BII)I close decrypt ([B[B)[B getPrivateKeyFromBytes ([BI)Ljava/security/PrivateKey; ([BILjava/security/PrivateKey;)V getMessage handle clearBuffers processRequest I(Lnet/handle/hdllib/AbstractRequest;)Lnet/handle/hdllib/AbstractResponse; "net/handle/hdllib/AbstractResponse responseCode java/net/InetAddress getByName *(Ljava/lang/String;)Ljava/net/InetAddress; certify setCheckSignatures (Z)V sendHdlTcpRequest `(Lnet/handle/hdllib/AbstractRequest;Ljava/net/InetAddress;I)Lnet/handle/hdllib/AbstractResponse; sendHdlUdpRequest sendHttpRequest net/handle/hdllib/SiteInfo isPrimary opCode NA_HANDLE_PREFIX startsWithCI ([B[B)Z servers [Lnet/handle/hdllib/ServerInfo; sendRequestToServer g(Lnet/handle/hdllib/AbstractRequest;Lnet/handle/hdllib/ServerInfo;)Lnet/handle/hdllib/AbstractResponse; startsWith (Ljava/lang/String;)Z getBytesFromFile (Ljava/io/File;)[B (I)I charAt (I)C requiresSecretKey ([B)Z F(ILnet/handle/hdllib/AuthenticationInfo;[BLjava/security/PrivateKey;)V F(Lnet/handle/hdllib/AuthenticationInfo;[BILjava/security/PrivateKey;)V countTokens addElement (Ljava/lang/Object;)V size elementAt (I)Ljava/lang/Object; setIndex (I)V setType ([B)V setTTL setAdminCanRead setAdminCanWrite setAnyoneCanRead setAnyoneCanWrite &(Ljava/lang/String;)Ljava/lang/String; setData adminIdIndex perms [Z adminId net/handle/hdllib/Encoder encodeAdminRecord #(Lnet/handle/hdllib/AdminRecord;)[B exists ()Z canRead hasMoreTokens ([BI)V encodeValueReferenceList '([Lnet/handle/hdllib/ValueReference;)[B *(Ljava/io/InputStream;Ljava/lang/String;)V (Ljava/io/Reader;)V printStackTrace (Ljava/io/PrintStream;)V !-5 * 67 8 0 97 8 ^ :7 8 ? ;7 8 ? <7 8 a =7 8 c >7 8 e ?7 8 i @7 8 g A7 8 k B7 8 m C7 8 Z D7 8 E7 8 F7 8 G7 8 HI J7 8 n KL MN OP QP RP SP TU VW XY Z[ \] ^_ `a bc de fe BgI h7 8 i7 8 j7 8 k7 8 l7 8 m7 8 n7 8 "