++ed by:

1 PAUSE user
1 non-PAUSE user.

Mark Overmeer
and 1 contributors


XML::Compile::WSS::Timestamp - expiration


   is a XML::Compile::WSS


 # used in combination with any XML schema
 my $wss = XML::Compile::WSS::Timestamp->new
   ( ... parametes, some required
   , schema => $anything

 # connects itself to a WSDL
 my $wss  = XML::Compile::SOAP::WSS->new;
 my $wsdl = XML::Compile::WSDL11->new($wsdlfn);
 my $ts   = $wss->timestamp
   ( ... same params, never 'schema'


The generic Web Service Security protocol is implemented by the super class XML::Compile::WSS. This extension implements a timestamp record.

Extends "DESCRIPTION" in XML::Compile::WSS.


Extends "METHODS" in XML::Compile::WSS.


Extends "Constructors" in XML::Compile::WSS.

 -Option     --Defined in       --Default
  created                         now
  expires                         undef
  lifetime                        undef
  prepare      XML::Compile::WSS  'ALL'
  schema       XML::Compile::WSS  undef
  version      XML::Compile::WSS  undef
  wss_version  XML::Compile::WSS  '1.1'
  wsu_Id                          undef
created => DATETIME

By default, for each constructed message the current time is taken. See XML::Compile::WSS::dateTime() for options on DATETIME. If you specify an empty string, then the Created node will be skipped.

expires => DATETIME

See XML::Compile::WSS::dateTime() for options on DATETIME. When not defined, the Expires node will be skipped.

lifetime => SECONDS

When lifetime is given and no expires, then the expiration will be set to the created time plus this lifetime. In this case, the created time cannot be specified as formatted DATE.

prepare => 'READER'|'WRITER'|'ALL'|'NONE'
schema => an XML::Compile::Cache object
version => STRING
wss_version => '1.1'|MODULE
wsu_Id => LABEL

Adds a wsu:Id attribute to the wsse:Timestamp.


Extends "Attributes" in XML::Compile::WSS.


Inherited, see "Attributes" in XML::Compile::WSS


Returns the "created" and "expires" timestamps. Both may be undef.


Inherited, see "Attributes" in XML::Compile::WSS



Extends "Apply" in XML::Compile::WSS.


Inherited, see "Apply" in XML::Compile::WSS

$obj->create($doc, $security, $data)

Inherited, see "Apply" in XML::Compile::WSS


Extends "Helpers" in XML::Compile::WSS.


Inherited, see "Helpers" in XML::Compile::WSS


Extends "Internals" in XML::Compile::WSS.

$obj->loadSchemas($schema, $version)
XML::Compile::WSS::Timestamp->loadSchemas($schema, $version)

Inherited, see "Internals" in XML::Compile::WSS


Inherited, see "Internals" in XML::Compile::WSS


Extends "DETAILS" in XML::Compile::WSS.


This module is part of XML-Compile-WSS distribution version 1.12, built on February 06, 2014. Website: http://perl.overmeer.net/xml-compile/

Other distributions in this suite: XML::Compile, XML::Compile::SOAP, XML::Compile::WSDL11, 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.


Copyrights 2011-2014 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