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 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 0.91, built on November 19, 2012. 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 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