![]() |
WSCOMUN
2.1.0
Web Services Comunes para PHP/GVHidra
|
Métodos públicos | |
addReference ($name, $node, $type) | |
setNode ($node) | |
encryptNode ($objKey, $replace=true) | |
encryptReferences ($objKey) | |
getCipherValue () | |
decryptNode ($objKey, $replace=true) | |
encryptKey ($srcKey, $rawKey, $append=true) | |
decryptKey ($encKey) | |
locateEncryptedData ($element) | |
locateKey ($node=null) | |
locateKeyInfo ($objBaseKey=null, $node=null) | |
Métodos públicos estáticos | |
static | staticLocateKeyInfo ($objBaseKey=null, $node=null) |
xmlseclibs.php
Copyright (c) 2007-2015, Robert Richards rrich. All rights reserved. ards @cdat azon e.org
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definición en la línea 42 del archivo XMLSecEnc.php.
addReference | ( | $name, | |
$node, | |||
$type | |||
) |
string | $name | |
DOMNode | $node | |
string | $type |
Exception |
Definición en la línea 87 del archivo XMLSecEnc.php.
decryptKey | ( | $encKey | ) |
XMLSecurityKey | $encKey |
Exception |
Definición en la línea 376 del archivo XMLSecEnc.php.
decryptNode | ( | $objKey, | |
$replace = true |
|||
) |
Decrypt this encrypted node.
The behaviour of this function depends on the value of $replace. If $replace is false, we will return the decrypted data as a string. If $replace is true, we will insert the decrypted element(s) into the document, and return the decrypted element(s).
XMLSecurityKey | $objKey | The decryption key that should be used when decrypting the node. |
boolean | $replace | Whether we should replace the encrypted node in the XML document with the decrypted data. The default is true. |
Definición en la línea 269 del archivo XMLSecEnc.php.
encryptKey | ( | $srcKey, | |
$rawKey, | |||
$append = true |
|||
) |
Encrypt the XMLSecurityKey
XMLSecurityKey | $srcKey | |
XMLSecurityKey | $rawKey | |
bool | $append |
Exception |
Definición en la línea 330 del archivo XMLSecEnc.php.
encryptNode | ( | $objKey, | |
$replace = true |
|||
) |
Encrypt the selected node with the given key.
XMLSecurityKey | $objKey | The encryption key and algorithm. |
bool | $replace | Whether the encrypted node should be replaced in the original tree. Default is true. |
Exception |
Definición en la línea 128 del archivo XMLSecEnc.php.
encryptReferences | ( | $objKey | ) |
XMLSecurityKey | $objKey |
Exception |
Definición en la línea 203 del archivo XMLSecEnc.php.
getCipherValue | ( | ) |
Retrieve the CipherValue text from this encrypted node.
Exception |
Definición en la línea 234 del archivo XMLSecEnc.php.
locateEncryptedData | ( | $element | ) |
DOMDocument | $element |
Definición en la línea 394 del archivo XMLSecEnc.php.
locateKey | ( | $node = null | ) |
Returns the key from the DOM
null | DOMNode | $node |
Definición en la línea 420 del archivo XMLSecEnc.php.
locateKeyInfo | ( | $objBaseKey = null , |
|
$node = null |
|||
) |
null | XMLSecurityKey | $objBaseKey | |
null | DOMNode | $node |
Definición en la línea 572 del archivo XMLSecEnc.php.
setNode | ( | $node | ) |
DOMNode | $node |
Definición en la línea 112 del archivo XMLSecEnc.php.
|
static |
null | XMLSecurityKey | $objBaseKey | |
null | DOMNode | $node |
Exception |
Definición en la línea 462 del archivo XMLSecEnc.php.
const template |
Definición en la línea 44 del archivo XMLSecEnc.php.