XML-Compile-WSS
view release on metacpan or search on metacpan
lib/XML/Compile/WSS.pod view on Meta::CPAN
Also, the standard does not describe the ValueType field, which is often
used to cover this design mistake.
example:
# Both will get ValueType="$xsd/dateTime"
Created => time() # will get formatted
Created => '2012-10-14T22:26:21Z' # autodected ValueType
# Explicit formatting
Created => { _ => 'this Christmas'
, ValueType => 'http://per6.org/releasedates'
};
# No ValueType added
Created => '2012-11-01'
=back
=head2 Internals
=over 4
=item $obj-E<gt>B<loadSchemas>($schema, $version)
=item XML::Compile::WSS-E<gt>B<loadSchemas>($schema, $version)
$schema must extend L<XML::Compile::Cache|XML::Compile::Cache>.
The $schema settings will may changed a little. For one, the
C<allow_undeclared> flag will be set. Also, C<any_element> will be set to
'ATTEMPT' and C<mixed_elements> to 'STRUCTURAL'.
You can not mix multiple versions of WSS inside one $schema, because
there will be too much confusion about prefixes.
=item $obj-E<gt>B<writerHookWsuId>($type)
Creates a hook for an XML producer (writer), to understand wsu:Id on
elements of $type.
=back
=head1 DETAILS
=head2 Specifications
A huge number of specifications act in this field. Every self respecting
company has contributed its own implementation into the field. A lot of
this is B<not supported>, but the list of constants should be complete
in L<XML::Compile::WSS::Util|XML::Compile::WSS::Util>.
=over 4
=item * XML Security Generic Hybrid Ciphers
F<http://www.w3.org/TR/2011/CR-xmlsec-generic-hybrid-20110303/>, 3 March 2011
=item * XML Signature Properties
F<http://www.w3.org/TR/2011/CR-xmldsig-properties-20110303/>, 3 March 2011
=item * XML Signature Syntax and Processing Version 1.1
F<http://www.w3.org/TR/2011/CR-xmldsig-core1-20110303/>, 3 March 2011
=item * SOAP message security
F<http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf>, March 2004
=item * XML Signature Syntax and Processing (Second Edition)
F<http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/>, 10 June 2008
=item * RFC4050 Using the ECDSA for XML Digital Signatures
F<http://www.ietf.org/rfc/rfc4050.txt>, april 2005
=item * RFC4051 Additional XML Security Uniform Resource Identifiers (URIs)
F<http://www.ietf.org/rfc/rfc4051.txt>, april 2005
=item * XML Encryption Syntax and Processing
F<http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/>, 10 December 2002
=back
=head1 SEE ALSO
This module is part of XML-Compile-WSS distribution version 1.14,
built on May 08, 2017. Website: F<http://perl.overmeer.net/xml-compile/>
Please post questions or ideas to the mailinglist at
F<http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile> .
For live contact with other developers, visit the C<#xml-compile> channel
on C<irc.perl.org>.
=head1 LICENSE
Copyrights 2011-2017 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it
under the Artistic license.
See F<http://dev.perl.org/licenses/artistic.html>
( run in 1.140 second using v1.01-cache-2.11-cpan-71847e10f99 )