while (it.hasNext()) {
if (wst.supportTokens == null) {
wst.supportTokens = new ArrayList();
}
Token tok = (Token) it.next();
if (tok instanceof X509Token) {
WSS4JPolicyToken wpt = new WSS4JPolicyToken();
wst.supportTokens.add(wpt);
initializeWSS4JPolicyToken(wpt, (X509Token) tok, suite);
}