Edit C:\Users\Admin\.m2\repository\org\dspace\handle\6.2\net\handle\apps\tools\KeyUtil.class
???? 0 ? : c d e f g h 9 i j k l m n c o p q r s t u v w x y w z w { w | } ~ ? d ? ? d ? ? ? ? ? g ? ? ? ? ? ? ? 9 ? ? ? d ? ? w ? w ? ? ? w ? ? ? 4 t 4 ? 4 ? ? ? ? <init> ()V Code LineNumberTable LocalVariableTable this Lnet/handle/apps/tools/KeyUtil; printUsage main ([Ljava/lang/String;)V r I i in Ljava/io/FileInputStream; encKeyBytes [B n keyBytes secKey e Ljava/lang/Exception; line Ljava/lang/String; argv [Ljava/lang/String; privateKey Ljava/security/PrivateKey; privateKeyFile Ljava/io/File; Ljava/io/DataInputStream; Exceptions encryptKey E(Ljava/security/PrivateKey;Ljava/io/File;Ljava/io/DataInputStream;I)V secKey2 encryptionType out Ljava/io/FileOutputStream; SourceFile KeyUtil.java ; < ? ? ? 5usage: net.handle.apps.tools.KeyUtil <privatekeyfile> ? ? ? B < java/io/File ; ? ? ? ? ? java/lang/StringBuffer *Missing or inaccessible private key file: ? ? ? ? ? ? java/io/FileInputStream ; ? ? ? ? ? ? ? ? +Enter the passphrase for this private key: ? ? ? ? ? ? java/lang/Exception Unable to read private key: ? ? java/io/DataInputStream H ? ; ? _ ? Choose an operation: ( 1: Encrypt private key with passphrase ( 2: Save private key without encryption 3: Exit ? < ? ? ? ? ? 1 ? ? [ \ 2 3 ? ? Huh? Please enter 1, 2, or 3 ? ? ? ? +Please enter a new private key passphrase: ,Please re-enter the private key passphrase: ? ? &Passphrases do not match! Try again. java/io/FileOutputStream ? ? ? < Private key saved to file: net/handle/apps/tools/KeyUtil java/lang/Object java/lang/System err Ljava/io/PrintStream; java/io/PrintStream println (Ljava/lang/String;)V exists ()Z canRead append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; getAbsolutePath ()Ljava/lang/String; toString (Ljava/io/File;)V length ()J read ([BII)I net/handle/hdllib/Util requiresSecretKey ([B)Z getPassphrase (Ljava/lang/String;)[B decrypt ([B[B)[B getPrivateKeyFromBytes ([BI)Ljava/security/PrivateKey; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; Ljava/io/InputStream; (Ljava/io/InputStream;)V flush readLine java/lang/String trim equals (Ljava/lang/Object;)Z exit (I)V getBytesFromPrivateKey (Ljava/security/PrivateKey;)[B encrypt ([B[BI)[B ([B[B)Z write ([B)V close ! 9 : ; <