XML::Compile::WSS::SecToken - Base for WSS Security Tokens
XML::Compile::WSS::SecToken is extended by XML::Compile::WSS::SecToken::X509v3
# either use XML::Compile::WSS::Util qw/XTP10_X509v3/; my $token = XML::Compile::WSS::SecToken->new(type => XTP10_X509v3, ...); # or use XML::Compile::WSS::SecToken::X509v3; my $token = XML::Compile::WSS::SecToken::X509v3->new(...);
Other token types, found in the documentation, but not (yet) supported:
Hire me to implement these!
Convert the information of a binary security token, where DATA is produced by the XML::Compile reader, to a security token.
Try to be very flexible. CONFIG can be a HASH, which could also be passed to new() directly. But it can also be various kinds of objects.
-Option--Default type XTP10_X509v3
[1.07] the type of the security token.
-Option--Default binary undef id 'my-token' type XTP10_X509v3
Returns the token information, to be used in a "BinarySecurityToken" object. Returned is the EncodingType used (may be undef) and the encoded data as by preference of the token type.
Returns a CODE which is used to produced a BinarySecurityToken child for the Security header.
This module is part of XML-Compile-WSS-Signature distribution version 1.09, built on January 18, 2013. Website: http://perl.overmeer.net/xml-compile/
Other distributions in this suite: XML::Compile, XML::Compile::SOAP, XML::Compile::SOAP12, XML::Compile::SOAP::Daemon, XML::Compile::SOAP::WSA, XML::Compile::C14N, XML::Compile::WSS, XML::Compile::WSS::Signature, XML::Compile::Tester, XML::Compile::Cache, XML::Compile::Dumper, XML::Compile::RPC, XML::Rewrite, XML::eXistDB, and XML::LibXML::Simple.
Please post questions or ideas to the mailinglist at http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile
For live contact with other developers, visit the
#xml-compile channel on
Copyrights 2012-2013 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html