You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2018/06/12 15:15:00 UTC
[jira] [Closed] (SANTUARIO-486) Support multiple signature key
identifiers for the StAX code
[ https://issues.apache.org/jira/browse/SANTUARIO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh closed SANTUARIO-486.
-----------------------------------------
> Support multiple signature key identifiers for the StAX code
> ------------------------------------------------------------
>
> Key: SANTUARIO-486
> URL: https://issues.apache.org/jira/browse/SANTUARIO-486
> Project: Santuario
> Issue Type: Improvement
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Major
> Fix For: Java 2.1.2
>
>
> 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);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)