NAME
XML::Compile::WSS::SecToken - Base for WSS Security Tokens
INHERITANCE
XML::Compile::WSS::SecToken is extended by
XML::Compile::WSS::SecToken::EncrKey
XML::Compile::WSS::SecToken::X509v3
SYNOPSIS
# 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(...);
DESCRIPTION
Supported token types
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
Not supporter (yet)
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!
METHODS
Constructors
- XML::Compile::WSS::SecToken->fromConfig($config, %options)
-
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
- XML::Compile::WSS::SecToken->new(%options)
-
-Option --Default binary undef encoding WSM10_BASE64 fingerprint undef id 'my-token' type XTP10_X509v3 uri <unique>
Attributes
Handlers
SEE ALSO
This module is part of XML-Compile-WSS-Signature distribution version 2.04, built on June 26, 2025. Website: http://perl.overmeer.net/xml-compile/
LICENSE
Copyrights 2012-2025 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the Artistic license. See http://dev.perl.org/licenses/artistic.html