String b64Secret = DOMUtils.getContent(child);
secret = Base64.decode(b64Secret);
} else if (childQname.equals(new QName(namespace, WSConstants.ENC_KEY_LN))) {
try {
EncryptedKeyProcessor processor = new EncryptedKeyProcessor();
processor.handleToken(child, null, createCrypto(true), createHandler(), null,
new Vector(), null);
secret = processor.getDecryptedBytes();
} catch (IOException e) {
throw new TrustException(new Message("ENCRYPTED_KEY_ERROR", LOG), e);
}
} else if (childQname.equals(new QName(namespace, "ComputedKey"))) {
// Handle the computed key