++ed by:
ETHER

1 PAUSE user

Mark Overmeer

NAME

XML::Compile::WSS::Sign::HMAC - WSS Signing with HMAC

INHERITANCE

 XML::Compile::WSS::Sign::HMAC
   is a XML::Compile::WSS::Sign

SYNOPSIS

  # either
  use XML::Compile::WSS::Util qw/DSIG_HMAC_SHA1/;
  my $sign = XML::Compile::WSS::Sign->new(type => DSIG_HMAC_SHA1
    , key => $password, ...);

  # or
  use XML::Compile::WSS::Sign::HMAC;
  my $token = XML::Compile::WSS::Sign::HMAC->new(
     hashing => 'SHA1', key => $password, ...);

DESCRIPTION

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

METHODS

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

Constructors

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

XML::Compile::WSS::Sign::HMAC->fromConfig(HASH|PAIRS)

Inherited, see "Constructors" in XML::Compile::WSS::Sign

XML::Compile::WSS::Sign::HMAC->new(%options)
 -Option     --Defined in             --Default
  key                                   <required>
  sign_method  XML::Compile::WSS::Sign  DSIG_RSA_SHA1
key => KEY|XML::Compile::WSS::SecToken::EncrKey object
sign_method => TYPE

Attributes

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

$obj->key()
$obj->signMethod()

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

Handlers

Extends "Handlers" in XML::Compile::WSS::Sign.

$obj->builder()

Inherited, see "Handlers" in XML::Compile::WSS::Sign

$obj->checker()

Inherited, see "Handlers" in XML::Compile::WSS::Sign

DETAILS

Read DETAILS in XML::Compile::WSS::Sign first.

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

Signing, the generic part

Extends "Signing, the generic part" in XML::Compile::WSS::Sign.

Defend against man-in-the-middle

Extends "Defend against man-in-the-middle" in XML::Compile::WSS::Sign.

Signing with HMAC

Limitations

The signing algorithm uses Digest::HMAC_SHA1. Only SHA1 hashing is supported.

SEE ALSO

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.

LICENSE

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