private static void asymmetricBinding(AsymmetricBinding binding,
RampartPolicyData rpd) throws WSSPolicyException {
TokenWrapper tokWrapper = binding.getRecipientToken();
TokenWrapper tokWrapper1 = binding.getInitiatorToken();
if (tokWrapper == null || tokWrapper1 == null) {
throw new WSSPolicyException("Asymmetric binding should have both Initiator and " +
"Recipient tokens defined");
}
rpd.setRecipientToken(((RecipientToken) tokWrapper).getReceipientToken());
rpd.setInitiatorToken(((InitiatorToken) tokWrapper1).getInitiatorToken());
}