Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently we only support setting a single signature key identifier for the streaming code. This task is to support multiple signature key identifiers. For example:
XMLSecurityProperties properties = new XMLSecurityProperties();
List<XMLSecurityConstants.Action> actions = new ArrayList<XMLSecurityConstants.Action>();
actions.add(XMLSecurityConstants.SIGNATURE);
properties.setActions(actions);
List<SecurityTokenConstants.KeyIdentifier> signatureKeyIdentifiers =
Arrays.asList(SecurityTokenConstants.KeyIdentifier_X509SubjectName,
SecurityTokenConstants.KeyIdentifier_IssuerSerial,
SecurityTokenConstants.KeyIdentifier_KeyValue);
properties.setSignatureKeyIdentifiers(signatureKeyIdentifiers);