NAME

XML::Compile::WSS::SecToken::EncrKey - WSS Encrypted Keys

INHERITANCE

XML::Compile::WSS::SecToken::EncrKey
  is a XML::Compile::WSS::SecToken

SYNOPSIS

DESCRIPTION

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

Supported token types

  • AEOP

Extends "Supported token types" in XML::Compile::WSS::SecToken.

Not supporter (yet)

Extends "Not supporter (yet)" in XML::Compile::WSS::SecToken.

METHODS

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

Constructors

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

XML::Compile::WSS::SecToken::EncrKey->fromConfig($config, %options)

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

XML::Compile::WSS::SecToken::EncrKey->new(%options)
-Option     --Defined in                 --Default
 binary       XML::Compile::WSS::SecToken  undef
 encoding     XML::Compile::WSS::SecToken  WSM10_BASE64
 fingerprint  XML::Compile::WSS::SecToken  undef
 id           XML::Compile::WSS::SecToken  'my-token'
 key                                       <required>
 key_info                                  <constructed>
 signer                                    <required>
 type         XML::Compile::WSS::SecToken  XENC_RSA_OAEP
 uri          XML::Compile::WSS::SecToken  <unique>
binary => BYTES
encoding => WSM10*
fingerprint => STRING
id => wsu::Id
key => STRING

The binary key used to sign.

key_info => HASH
signer => HASH|XML::Compile::WSS::Sign-object

This signer encrypts the key which use used, for instance, in HMAC.

type => TOKENTYPE
uri => NAME

Attributes

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

$obj->encoding()

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

$obj->fingerprint()

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

$obj->id()

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

$obj->key()
$obj->keyInfo()
$obj->signer()
$obj->type()

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

Handlers

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

$obj->asBinary()

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

XML::Compile::WSS::SecToken::EncrKey->getChecker($wss, %options)
XML::Compile::WSS::SecToken::EncrKey->getEncrypter($wss, %options)

Not for end-users. Returns the CODE which returns the object which handles encryption or decryption of the key.

XML::Compile::WSS::SecToken::EncrKey->getKey($wss, %options)

Not for end-users. Returns the CODE to produce the decrypted key.

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