XML::Compile::WSS::SecToken - Base for WSS Security Tokens
XML::Compile::WSS::SecToken is extended by XML::Compile::WSS::SecToken::EncrKey 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
An encrypted key, for instance to be used for hmac-rsa, implemented in XML::Compile::WSS::SecToken::EncrKey
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!
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 encoding WSM10_BASE64 fingerprint undef id 'my-token' type XTP10_X509v3 uri <unique>
STRING format like C8:AE:B1:25: :24:00:7A:82:F2. A bit weird that this gets base64 encoded as well.
C8:AE:B1:25: :24:00:7A:82:F2
If implemented, this token can be included as "BinarySecurityToken"
This module is part of XML-Compile-WSS-Signature distribution version 2.02, built on July 16, 2016. Website: http://perl.overmeer.net/xml-compile/
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-2016 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.