Edit C:\Users\Admin\.m2\repository\org\dspace\handle\6.2\net\handle\hdllib\Util.class
???? 0? ? ? ? !" #$ % &' () * + , - ?. /0 ?1 /23 4 56 7 8 ?9 ?: ?; <= ?> ?? /@ ?AB + <C DEFG H &I /J /K <L <MN 7OPQR ; +S@$ ;T UVW X +Y Z[ \ ] ? ^ _` _a bc &de /fg /hi 9jklm ?no Zp q Zrstsusv /w Dxyz d{ d| d} d~ d d? d? d? /? c{ c| /?? ?? ??? ?? ???? ??? ?? D???? ? ~? ??? ??? ???? ?? ?r /? D?? ?{ ?} /?? ?? ?? ?t ?v /??? ??? ?? ?? ?? ?? D?? ?? ???? ??? ??? ?? ?? ??? ?? D??? ? 9? D? ??? ?J? ?? ??? ?? ?? ?? ?? ?? ??? ?? ?? ?? ??? ?? ?? ?? ??? ?? ?? _? _? J ??? ?? ?? ?? ;??? ?? ?? ?? ???? ?? ???? ?????? ???????? ?? ????? md5 [Ljava/security/MessageDigest; nextMD5Idx I sha1 nextSHA1Idx keyFactoryInitialized Z keyFactoryInitLock Ljava/lang/Object; dsaKeyFactory Ljava/security/KeyFactory; rsaKeyFactory HEX_VALUES [C CASE_DIFF B ConstantValue???? <init> ()V Code LineNumberTable LocalVariableTable this Lnet/handle/hdllib/Util; looksLikeBinary ([B)Z b i buf [B duplicateByteArray ([B)[B newbuf decodeHexString ([BIIZ)Ljava/lang/String; offset len formatNicely sb Ljava/lang/StringBuffer; ([BZ)Ljava/lang/String; encodeHexString (Ljava/lang/String;)[B ch C c realBuf s Ljava/lang/String; lowNibble encodeString e Ljava/lang/Exception; decodeString ([B)Ljava/lang/String; ([BII)Ljava/lang/String; isValidString ([BII)Z byte2mask trailing getNAHandle naHandle handle slashIndex &(Ljava/lang/String;)Ljava/lang/String; isSubNAHandle dot getParentNAOfNAHandle parentEndIdx slashIdx parentNAHandle loc getNAPart getIDPart startsWith ([B[B)Z b1 b2 equals ([BI[BI)Z b1Start b2Start upperCase sz upperCaseInPlace equalsCI byte1 byte2 b1Len b2Len startsWithCI substring ([BI)[B i1 ([BII)[B i2 rb indexOf ([BB)I countValuesOfType %([Lnet/handle/hdllib/HandleValue;[B)I values [Lnet/handle/hdllib/HandleValue; type matches isParentTypeInArray ([[B[B)Z queryType a [[B val isInArray ([II)Z [I getSitesFromValues ?([Lnet/handle/hdllib/HandleValue;)[Lnet/handle/hdllib/SiteInfo; Ljava/lang/Throwable; siteNum sites [Lnet/handle/hdllib/SiteInfo; numSites getNamespaceFromValues C([Lnet/handle/hdllib/HandleValue;)Lnet/handle/hdllib/NamespaceInfo; #Lnet/handle/hdllib/HandleException; nsInfo !Lnet/handle/hdllib/NamespaceInfo; currentNSIdx orderSitesByPreference <([Lnet/handle/hdllib/SiteInfo;)[Lnet/handle/hdllib/SiteInfo; temp Lnet/handle/hdllib/SiteInfo; k j r Ljava/util/Random; randomIdx randomNum F ranges [F preferredGlobal getPassphrase input prompt passphrase charIdx endTime J secKey Exceptions getHashAlgIdFromSigId signatureAlgorithm getSigIdFromHashAlgId (([BLjava/lang/String;)Ljava/lang/String; hashAlgId sigKeyType getBytesFromPrivateKey (Ljava/security/PrivateKey;)[B dsaKey (Ljava/security/interfaces/DSAPrivateKey; x params $Ljava/security/interfaces/DSAParams; p q g enc rsacrtKey +Ljava/security/interfaces/RSAPrivateCrtKey; ex pubEx exP exQ coeff y rsaKey (Ljava/security/interfaces/RSAPrivateKey; key Ljava/security/PrivateKey; initKeyFactories getPrivateKeyFromBytes ([BI)Ljava/security/PrivateKey; keySpec &Ljava/security/spec/DSAPrivateKeySpec; m exp &Ljava/security/spec/RSAPrivateKeySpec; n )Ljava/security/spec/RSAPrivateCrtKeySpec; pkBuf keyType getBytesFromPublicKey (Ljava/security/PublicKey;)[B 'Ljava/security/interfaces/DSAPublicKey; 'Ljava/security/interfaces/RSAPublicKey; dhKey %Ljavax/crypto/interfaces/DHPublicKey; dhSpec #Ljavax/crypto/spec/DHParameterSpec; Ljava/security/PublicKey; flags getPublicKeyFromFile -(Ljava/lang/String;)Ljava/security/PublicKey; filename f Ljava/io/File; in Ljava/io/FileInputStream; getPublicKeyFromBytes ([BI)Ljava/security/PublicKey; %Ljava/security/spec/DSAPublicKeySpec; %Ljava/security/spec/RSAPublicKeySpec; encrypt ([B[B)[B cleartext secretKey ([B[BI)[B encType cryptoProvider )Lnet/handle/security/HdlSecurityProvider; enc2 encryptIfPossible requiresSecretKey ciphertext encryptionType decrypt "Ljavax/crypto/BadPaddingException; getSHA1Digest ()Ljava/security/MessageDigest; doSHA1Digest digest Ljava/security/MessageDigest; ([B[B[B[B)[B buf1 buf2 buf3 buf4 getMD5Digest doMD5Digest doDigest (B[B[B[B[B)[B digestAlg (B[B)[B digestType sortNumberArray ([Ljava/lang/Number;)V [Ljava/lang/Number; quicksortAscending ([Ljava/lang/Number;II)V piv_index first last partitionAscending ([Ljava/lang/Number;II)I Ljava/lang/Number; pivot (Ljava/security/PublicKey;[B)[B encryptingKey getBytesFromFile file (Ljava/io/File;)[B Ljava/io/InputStream; rawKey writeBytesToFile (Ljava/lang/String;[B)Z keyBytes (Ljava/io/File;[B)Z out Ljava/io/FileOutputStream; isMatchingKeyPair 6(Ljava/security/PublicKey;Ljava/security/PrivateKey;)Z toBeSigned sig Ljava/security/Signature; signatureBytes vsig pubkey privkey (Ljava/security/PrivateKey;[B)[B privKey checkJavaVersion ()Z version <clinit> (Ljava/security/NoSuchAlgorithmException; SourceFile Util.java java/lang/StringBuffer UTF8 java/lang/Exception java/lang/StringWXJ 0.@W 0.NA/QPAQTKE]DAKA YZ net/handle/hdllib/SiteInfo!"#$ java/lang/Throwable Error decoding site record: %&'()*+ ? net/handle/hdllib/NamespaceInfo, !net/handle/hdllib/HandleException Error decoding namespace info: java/util/Random-?. /0 hdllib.preferredGlobal162345D678??9: ; 8Note: Your passphrase will be displayed as it is entered< SHA= MD5> Unknown signature algorithm: ? SHA1with MD5with Unknown hash algorithm ID: +, &java/security/interfaces/DSAPrivateKey@ABCDEFAGAHAIJK &java/security/interfaces/RSAPrivateKey )java/security/interfaces/RSAPrivateCrtKeyLAMANAOAPAQARASATU Unknown private key type: " ? ? ? ? DSAVWX ? ? !Error acquiring DSA key factory: RSA ? !Error acquiring RSA key factory: ?YR DSA encryption not available $java/security/spec/DSAPrivateKeySpec java/math/BigIntegerZ[\] $java/security/spec/RSAPrivateKeySpec^ 'java/security/spec/RSAPrivateCrtKeySpec_ !Unknown format for private key: " %java/security/interfaces/DSAPublicKey`Aabc %java/security/interfaces/RSAPublicKeyd #javax/crypto/interfaces/DHPublicKeyCefg Unknown public key type: " java/io/File& java/io/FileInputStreamh 8;i??jk #java/security/spec/DSAPublicKeySpeclm RSA encryption not available #java/security/spec/RSAPublicKeySpec #net/handle/security/DHPublicKeyImpln Unknown format for public key: "???oWp Encryption engine missingqrsc Warning: data not encrypted Unknown algorithm ID: tu vkwr javax/crypto/BadPaddingException Incorrect passphrase Unknown encryption type code: ? ? SHA1 algorithm not found ? ????x? ? ? MD5 algorithm not found ? ??????? Invalid hash type: ?????yz{ (Encryption/Key generation engine missing|}??;c~? java/io/FileOutputStream????W???????? Error checking keys: 9Encryption/Key generation engine missing. Session failed.?? Error decrypting: Unsupported key for decrypt: java.version 1.4?? A Error: Java version 1.4 or greater is required; this is version . See "http://hdl.handle.net/4263537/4066 " to obtain an up-to-date version. java/lang/Object java/security/MessageDigestW?? &java/security/NoSuchAlgorithmException SHA-1 net/handle/hdllib/Util java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V append (C)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; toUpperCase trim length ()I charAt (I)C getBytes err Ljava/io/PrintStream; java/io/PrintStream println (Ljava/lang/Object;)V ()[B ([BLjava/lang/String;)V ([B)V ([BIILjava/lang/String;)V ([BII)V net/handle/hdllib/Common NA_HANDLE_PREFIX ROOT_HANDLE (Ljava/lang/String;)Z (I)I ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (II)Ljava/lang/String; net/handle/hdllib/HandleValue SITE_INFO_TYPE data net/handle/hdllib/Encoder decodeSiteInfoRecord "([BILnet/handle/hdllib/SiteInfo;)V ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; (Ljava/lang/String;)V printStackTrace (Ljava/io/PrintStream;)V NAMESPACE_INFO_TYPE hasType index "(Lnet/handle/hdllib/HandleValue;)V responseTime nextInt java/lang/Math abs getProperty servers [Lnet/handle/hdllib/ServerInfo; net/handle/hdllib/ServerInfo getAddressString (Ljava/lang/Object;)Z currentTimeMillis ()J java/io/InputStream available read flush HASH_ALG_SHA1 HASH_ALG_MD5 (ILjava/lang/String;)V getX ()Ljava/math/BigInteger; toByteArray getParams &()Ljava/security/interfaces/DSAParams; "java/security/interfaces/DSAParams getP getQ getG KEY_ENCODING_DSA_PRIVATE writeByteArray ([BI[B)I getModulus getPrivateExponent getPublicExponent getPrimeP getPrimeQ getPrimeExponentP getPrimeExponentQ getCrtCoefficient KEY_ENCODING_RSACRT_PRIVATE KEY_ENCODING_RSA_PRIVATE java/security/KeyFactory getInstance .(Ljava/lang/String;)Ljava/security/KeyFactory; readByteArray (I[B)V [(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V generatePrivate 8(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey; /(Ljava/math/BigInteger;Ljava/math/BigInteger;)V ?(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V getY KEY_ENCODING_DSA_PUBLIC writeInt2 ([BII)I KEY_ENCODING_RSA_PUBLIC %()Ljavax/crypto/spec/DHParameterSpec; !javax/crypto/spec/DHParameterSpec KEY_ENCODING_DH_PUBLIC (Ljava/io/File;)V ([B)I readInt2 ([BI)I generatePublic 7(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey; E(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V 'net/handle/security/HdlSecurityProvider +()Lnet/handle/security/HdlSecurityProvider; encrypt_DES_ECB_PKCS5 ([BII[B)[B writeInt (I)Ljava/lang/StringBuffer; getCode readInt decrypt_DES_ECB_PKCS5 update java/lang/Number doubleValue ()D encrypt_RSA_ECB_PKCS1 /([BIILjava/security/interfaces/RSAPublicKey;)[B close write nextBytes java/security/PrivateKey getAlgorithm java/security/Signature -(Ljava/lang/String;)Ljava/security/Signature; initSign (Ljava/security/PrivateKey;)V sign java/security/PublicKey initVerify (Ljava/security/PublicKey;)V verify decrypt_RSA_ECB_PKCS1 0([BIILjava/security/interfaces/RSAPrivateKey;)[B compareTo (Ljava/lang/String;)I 1(Ljava/lang/String;)Ljava/security/MessageDigest; reset! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? D / *? ? ? -*? ?<*?? *3= ? ?? ? ?????? >