} else if (signedElements != null) {
all.addPolicyComponent(signedElements);
} else if (encryptedParts != null) {
all.addPolicyComponent(encryptedParts);
} else if (encryptedElements != null) {
all.addPolicyComponent(encryptedElements);
}
ea.addPolicyComponent(all);
PolicyComponent pc = p.normalize(builder.getPolicyRegistry(), true);
if (pc instanceof Policy) {