40com/hazelcast/config/replacer/EncryptionReplacer1com/hazelcast/config/replacer/AbstractPbeReplacerEncryptionReplacer.java2com/hazelcast/config/replacer/EncryptionReplacer$1()V  this2Lcom/hazelcast/config/replacer/EncryptionReplacer;init(Ljava/util/Properties;)V "# $java/util/Properties& getProperty&(Ljava/lang/String;)Ljava/lang/String; () '*  ,true.8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; (0 '1java/lang/Boolean3 parseBoolean(Ljava/lang/String;)Z 56 47  9  ;XAt least one of the properties used to generate encryption password has to be configured= com/hazelcast/util/Preconditions? checkFalse(ZLjava/lang/String;)V AB @C propertiesLjava/util/Properties; getPrefix()Ljava/lang/String; getPassword()[Cjava/net/SocketExceptionKjava/lang/ExceptionMjava/io/ByteArrayOutputStreamO Pjava/io/FileInputStreamR(Ljava/lang/String;)V T SUcom/hazelcast/nio/IOUtilW toByteArray(Ljava/io/InputStream;)[B YZ X[write([B)V ]^ P_ closeResource(Ljava/io/Closeable;)V ab Xcjava/lang/Throwablee user.homegjava/lang/Systemi j*com/hazelcast/util/StringUtill UTF8_CHARSETLjava/nio/charset/Charset; no mpjava/lang/StringrgetBytes(Ljava/nio/charset/Charset;)[B tu sv user.namexjava/net/NetworkInterfacez getByName/(Ljava/lang/String;)Ljava/net/NetworkInterface; |} {~getHardwareAddress()[B { com/hazelcast/util/ExceptionUtilrethrow3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; Y Pcom/hazelcast/util/Base64encode([B)[B ([BLjava/nio/charset/Charset;)V  s toCharArray J sfisLjava/io/FileInputStream;ifaceLjava/net/NetworkInterface;eLjava/net/SocketException;baosLjava/io/ByteArrayOutputStream;Ljava/lang/Exception;main([Ljava/lang/String;)VerrLjava/io/PrintStream; jUsage:java/io/PrintStreamprintln T java/lang/StringBuilder ( java -D= append-(Ljava/lang/String;)Ljava/lang/StringBuilder; java/lang/ClassgetName H # "" [iterations]toString H  YThe replacer configuration can be loaded either from hazelcast/hazelcast-client XML file:* -Dhazelcast.config=/path/to/hazelcast.xml2or provided directly via following property names: cipherAlgorithm keyLengthBits saltLengthBytes secretKeyAlgorithm secretKeyFactoryAlgorithm securityProvider passwordFile passwordNetworkInterface passwordUserProperties6Values available for property passwordNetworkInterfacegetNetworkInterfaces()Ljava/util/Enumeration; {java/util/EnumerationhasMoreElements()Z  nextElement()Ljava/lang/Object;   {exit(I)V jout jencrypt'([Ljava/lang/String;)Ljava/lang/String; networkInterfacehardwareAddress[BnetworkInterfaces4Ljava/util/Enumeration;Ljava/util/Enumeration;args[Ljava/lang/String;java/lang/IntegerparseInt(Ljava/lang/String;)I   hazelcast.config getProperties()Ljava/util/Properties;   j loadPropertiesFromConfig1(Ljava/io/FileInputStream;)Ljava/util/Properties;   $'(Ljava/lang/String;I)Ljava/lang/String;  $ GH {} iterationsreplacerxmlPath encryptedvariable(javax/xml/parsers/DocumentBuilderFactory# newInstance,()Ljavax/xml/parsers/DocumentBuilderFactory; %& $'setNamespaceAware(Z)V )* $+4http://apache.org/xml/features/disallow-doctype-decl- setFeature(Ljava/lang/String;Z)V /0 $1newDocumentBuilder%()Ljavax/xml/parsers/DocumentBuilder; 34 $5!javax/xml/parsers/DocumentBuilder7parse-(Ljava/io/InputStream;)Lorg/w3c/dom/Document; 9: 8;org/w3c/dom/Document=getDocumentElement()Lorg/w3c/dom/Element; ?@ >AfindReplacerDefinition)(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Node; CD EloadProperties*(Lorg/w3c/dom/Node;)Ljava/util/Properties; GH Idbf*Ljavax/xml/parsers/DocumentBuilderFactory;builder#Ljavax/xml/parsers/DocumentBuilder;docLorg/w3c/dom/Document;rootLorg/w3c/dom/Element;fileInputStreamjavax/xml/xpath/XPathExceptionTjavax/xml/xpath/XPathFactoryV ()Ljavax/xml/xpath/XPathFactory; %X WYnewXPath()Ljavax/xml/xpath/XPath; [\ W]7(Lcom/hazelcast/config/replacer/EncryptionReplacer$1;)V _ `javax/xml/xpath/XPathbsetNamespaceContext)(Ljavax/xml/namespace/NamespaceContext;)V de cf5//%s:config-replacers/%1$s:replacer[@class-name='%s']hjava/lang/Objectjhzlformat9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; no spjavax/xml/xpath/XPathConstantsrNODESETLjavax/xml/namespace/QName; tu svevaluateS(Ljava/lang/String;Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object; xy czorg/w3c/dom/NodeList| getLength()I ~ } hz-clientHNo EncryptionReplacer definition found within the provided XML document. checkPositive(ILjava/lang/String;)I  @item(I)Lorg/w3c/dom/Node;  }xpathLjavax/xml/xpath/XPath;xpathExp replaceTagsLorg/w3c/dom/NodeList; '$com/hazelcast/config/DomConfigHelper childElements((Lorg/w3c/dom/Node;)Ljava/lang/Iterable;  java/lang/Iterableiterator()Ljava/util/Iterator;  java/util/IteratorhasNext  next  org/w3c/dom/Node cleanNodeName&(Lorg/w3c/dom/Node;)Ljava/lang/String;  Eequals(Ljava/lang/Object;)Z  sfillProperties+(Lorg/w3c/dom/Node;Ljava/util/Properties;)V  valuenLorg/w3c/dom/Node;nodeproperty getAttributes()Lorg/w3c/dom/NamedNodeMap;  nameorg/w3c/dom/NamedNodeMap getNamedItem&(Ljava/lang/String;)Lorg/w3c/dom/Node;  getTextContent  trim ) m setProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;  ' propertyName H getTextContentOld   getFirstChild()Lorg/w3c/dom/Node;  getNextSibling  hasTextContent(Lorg/w3c/dom/Node;)Z   getNodeValue H appendTextContents.(Lorg/w3c/dom/Node;Ljava/lang/StringBuilder;)V  bufLjava/lang/StringBuilder;child getNodeType()S  nodeTypeS ConstantValueCodeLineNumberTableLocalVariableTable StackMapTableLocalVariableTypeTable Exceptions InnerClasses SourceFile!       /*=  !"#H*+%*++-*+/28:*++<*-*<*:>DA@XYZ[(\G^H !HEFGH-b  !IJPYQL*-%SY*-VM+,\`,d N,d-*:!+hkqw`+ykqw`*<*<M+,` M,sY+qL+#*]mpLN+*PSf$YLNRhijl#n'o*n/o1q8rGsVu]wexm{pyqzv}~>eq !** *Y²Ķƶ²ȶʶ̶ζжҶԶֶضڶ²ܶL+5+{M,N-Y,Ȳ*7 z:@HPV^fnv~*% E ENv* *2<YM kN-  SY-V:,,*2:Y,:BsJ'& "49?IsHvc[!"T 9=EFI-! s" N >(L+,+.2+6M,*SN CDZ^L+ YagiM+,kYmSYSq*w{}N-4+,kYSYSq*w{}N-W-xcs}"=Gkx*QRyg =CU GH@'YL*M,&,N-:-++'(%+6;>*+ %@8EF Pg+*M,Q,N-:3-¹:-˸:+ ЧWc M'sss's'sss'ss'* "(3FOcf>F O (; "AggEF ] *L*ڰNGN  <*L+2+M,+ +YN*--&@s&  (05:*(0 <5 (*M,,+,W,M   ' ((! _*< @