Element eleSTRes,
DerivedKeyCallbackHandler dkcbHandler,
String callback)
throws ConversationException {
String uuid = null;
RequestSecurityTokenResponse stRes = null;
try {
if (verifyTrust) {
TrustEngine trstEngine = new TrustEngine(this.trustPropFile);
// TODO :: Verify trust......
System.out.println("...........Verifying trust.........");
}
//Now trust is verified.
stRes = new RequestSecurityTokenResponse(eleSTRes, true);
SecurityContextToken SCT =
stRes.getRequestedSecurityToken().getSct();
uuid = SCT.getIdentifier();
RequestedProofToken proofToken = stRes.getRequestedProofToken();
//TODO:: romove the hard coded decryption
proofToken.doDecryption(callback, this.loadDecryptionCrypto());
SecurityContextInfo scInfo = null;