Property | Type | Description | |
---|---|---|---|
$encKey | |||
$type |
Method | 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 ) |
Method | Description | |
---|---|---|
_resetTemplate ( ) |
public decryptNode ( $objKey, $replace = true ) : string | DOMElement | ||
return | 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. |
return | DOMElement | The |
public getCipherValue ( ) : string | null | ||
return | string | null | The Ciphervalue text, or null if no CipherValue is found. |
static public staticLocateKeyInfo ( $objBaseKey = null, $node = null ) |