Property | Type | Description | |
---|---|---|---|
$encryptedCtx | |||
$guid | |||
$isEncrypted | |||
$iv | |||
$key | |||
$keyChain | |||
$name | |||
$passphrase | |||
$type |
Method | Description | |
---|---|---|
__construct ( $type, $params = null ) | ||
convertRSA ( $modulus, $exponent ) | * Modulus and Exponent must already be base64 decoded | |
decryptData ( $data ) | ||
encryptData ( $data ) | ||
fromEncryptedKeyElement ( DOMElement $element ) : XMLSecurityKey | Create key from an EncryptedKey-element. | |
generateSessionKey ( ) | ||
getAlgorithm ( ) | ||
getRawThumbprint ( $cert ) | ||
getSymmetricKeySize ( ) : integer | null | Retrieve the key size for the symmetric encryption algorithm. | |
getX509Certificate ( ) : The | Retrieve the X509 certificate this key represents. | |
getX509Thumbprint ( ) | * Get the thumbprint of this X509 certificate. | |
loadKey ( $key, $isFile = false, $isCert = false ) | ||
makeAsnSegment ( $type, $string ) | ||
serializeKey ( $parent ) | ||
signData ( $data ) | ||
verifySignature ( $data, $signature ) |
Method | Description | |
---|---|---|
decryptMcrypt ( $data ) | ||
decryptOpenSSL ( $data ) | ||
encryptMcrypt ( $data ) | ||
encryptOpenSSL ( $data ) | ||
signOpenSSL ( $data ) | ||
verifyOpenSSL ( $data, $signature ) |
static public convertRSA ( $modulus, $exponent ) |
public static fromEncryptedKeyElement ( DOMElement $element ) : XMLSecurityKey | ||
$element | DOMElement | The EncryptedKey-element. |
return | XMLSecurityKey | The new key. |
public getSymmetricKeySize ( ) : integer | null | ||
return | integer | null | The number of bytes in the key. |
public getX509Certificate ( ) : The | ||
return | The | X509 certificate or null if this key doesn't represent an X509-certificate. |
public getX509Thumbprint ( ) |