Свойство | Type | Description | |
---|---|---|---|
$encKey | |||
$type |
Méthode | Description | |
---|---|---|
__construct ( ) | ||
addReference ( $name, $node, $type ) | ||
decryptKey ( $encKey ) | ||
decryptNode ( $objKey, $replace = true ) : string | DOMElement | Decrypt this encrypted node. | |
encryptKey ( $srcKey, $rawKey, $append = true ) | ||
encryptNode ( XMLSecurityKey $objKey, boolean $replace = true ) : DOMElement | Encrypt the selected node with the given key. | |
encryptReferences ( $objKey ) | ||
getCipherValue ( ) : string | null | Retrieve the CipherValue text from this encrypted node. | |
locateEncryptedData ( $element ) | ||
locateKey ( $node = null ) | ||
locateKeyInfo ( $objBaseKey = null, $node = null ) | ||
setNode ( $node ) | ||
staticLocateKeyInfo ( $objBaseKey = null, $node = null ) |
Méthode | Description | |
---|---|---|
_resetTemplate ( ) |
public decryptNode ( $objKey, $replace = true ) : string | DOMElement | ||
Résultat | string | DOMElement | The decrypted data. |
public encryptNode ( XMLSecurityKey $objKey, boolean $replace = true ) : DOMElement | ||
$objKey | XMLSecurityKey | The encryption key and algorithm. |
$replace | boolean | Whether the encrypted node should be replaced in the original tree. Default is true. |
Résultat | DOMElement | The |
public getCipherValue ( ) : string | null | ||
Résultat | string | null | The Ciphervalue text, or null if no CipherValue is found. |
static public staticLocateKeyInfo ( $objBaseKey = null, $node = null ) |