if (wst.sigParts == null) {
wst.sigParts = new ArrayList();
}
while (it.hasNext()) {
Header header = (Header) it.next();
wst.sigParts.add(new WSEncryptionPart(header.getName(), header
.getNamespace(), "Content"));
}
}
/*
* Get and store the parts to encrypt of the supporting token
*/
sep = suppToken.getEncryptedParts();
if (sep != null) {
it = sep.getHeaders().iterator();
if (wst.encParts == null) {
wst.encParts = new ArrayList();
}
while (it.hasNext()) {
Header header = (Header) it.next();
wst.encParts.add(new WSEncryptionPart(header.getName(), header
.getNamespace(), "Content"));
}
}
/*