I have public key like
-----BEGIN PUBLIC KEY-----
dfghdfghMIGdMA0GCfghdfgSqGSIfghdbdfhdfghdfukighjkgghdfghdfghdfghdfAd2nK0Zry
nF6HdghdfgfD33B/G4bLfghdOghdfghhdfghdadwIBBimtyigyQ==
-----END PUBLIC KEY-----
<response><result>0</result><resdesc>success</resdesc><sign>43121BB564B90A725A2449847B14194A9CC9CCE5D2CF06657D3BD140DB68F2FE5B4F995F0D151BD2EA75903D0AC9E7F498A089D4BB0E475284BA392124EE626A9EEC91B46684F305E0BD8E4685060635F8E6C2F4D061203C3B66E205FC1F33DACDC3422D85DC15FC75CBFE6FE28E462A5FA9A479E76904999E470217503A7533</sign></response>
How can I know is this xml encrypted by public key?
XML
"<response><result>0</result><resdesc>success</resdesc><sign></sign></response>"
encrypted by public key is = sign node
"43121BB564B90A725A2449847B14194A9CC9CCE5D2CF06657D3BD140DB68F2FE5B4F995F0D151BD2EA75903D0AC9E7F498A089D4BB0E475284BA392124EE626A9EEC91B46684F305E0BD8E4685060635F8E6C2F4D061203C3B66E205FC1F33DACDC3422D85DC15FC75CBFE6FE28E462A5FA9A479E76904999E470217503A7533"
in summary I must encrypt xml without sign and get hex
"43121BB564B90A725A2449847B14194A9CC9CCE5D2CF06657D3BD140DB68F2FE5B4F995F0D151BD2EA75903D0AC9E7F498A089D4BB0E475284BA392124EE626A9EEC91B46684F305E0BD8E4685060635F8E6C2F4D061203C3B66E205FC1F33DACDC3422D85DC15FC75CBFE6FE28E462A5FA9A479E76904999E470217503A7533"
But I don`t know how? can you help me?