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(...);
X509v3, see XML::Compile::WSS::SecToken::X509v3
Other token types, found in the documentation, but not (yet) supported:
LTPA: Lightweight Third Party Authentication (version 1)
LTPAv2: Lightweight Third Party Authentication version 2
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 1.06, built on January 10, 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 irc.perl.org.
#xml-compile
irc.perl.org
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
To install XML::Compile::WSS::Signature, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Compile::WSS::Signature
CPAN shell
perl -MCPAN -e shell install XML::Compile::WSS::Signature
For more information on module installation, please visit the detailed CPAN module installation guide.