}else{
policy.setKeyBinding(itkb);
}
}else if(PolicyUtil.isSecureConversationToken(tokenAssertion, spVersion)){
SecureConversationTokenKeyBinding sct = new SecureConversationTokenKeyBinding();
SecureConversationToken sctPolicy = (SecureConversationToken)tokenAssertion;
sct.isOptional(tokenAssertion.isOptional());
if(sctPolicy.getIssuer() != null){
Address addr = sctPolicy.getIssuer().getAddress();
if(addr != null)
sct.setIssuer(addr.getURI().toString());
} else if(sctPolicy.getIssuerName() != null){
sct.setIssuer(sctPolicy.getIssuerName().getIssuerName());
}
if(sctPolicy.getClaims() != null){
sct.setClaims(sctPolicy.getClaims().getClaimsAsBytes());
}
if(sctPolicy.isRequireDerivedKeys()){
DerivedTokenKeyBinding dtKB = new DerivedTokenKeyBinding();
dtKB.setOriginalKeyBinding(sct);
policy.setKeyBinding(dtKB);
dtKB.setUUID(pid.generateID());
}else{