Hi, In processing an XML encrypted file, I have to extract the <keyInfo> within the <EncryptedKey>. The purpose is to retrieve the corresponding PrivateKey in our keystore, then used to decrypt the file. Besides using XMLStreamReader to parse it manually, is there any facility in Santuario-Java (Stax) API to do it? Or put it in another way, how can I instantiate a KeyInfo object from the corresponding <KeyInfo> element by Santuario-Java API . Any code example in this domain in the Junit tests ?
Thanks.
