++ed by:
Mark Overmeer

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

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
type => CONSTANT

[1.07] the type of the security token.

XML::Compile::WSS::SecToken->new(OPTIONS)
 -Option     --Default
  binary       undef
  encoding     WSM10_BASE64
  fingerprint  undef
  id           'my-token'
  type         XTP10_X509v3
  uri          <unique>
binary => BYTES
encoding => WSM10*
fingerprint => STRING

STRING format like C8:AE:B1:25: :24:00:7A:82:F2. A bit weird that this gets base64 encoded as well.

id => wsu::Id
type => TOKENTYPE
uri => NAME

Attributes

$obj->encoding()
$obj->fingerprint()
$obj->id()
$obj->type()

Handlers

$obj->asBinary()

If implemented, this token can be included as "BinarySecurityToken"

SEE ALSO

This module is part of XML-Compile-WSS-Signature distribution version 2.01, built on October 11, 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 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.

LICENSE

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




Hosting generously
sponsored by Bytemark