A RSA Private key
Can be used to verify signatures and seal/encrypt data.
Located in /phpsatk/local/org.eenterphace.sat.crypto.openssl/rsa.public.key.php (line 35)
Initializes a public key
The public key can be created from a resource (openssl_pkey_get_public), a File object, or a string.
Also checks whether the openssl extension is available.
Seals (encrypts) data
Encrypts data using a single envelope key which is encrypted using RSA public keys. Data may be signed for multiple recipients each of them having his own encrypted envelope key.
The encrypted envelope keys will be returned using the reference on $env_keys which will contain count($add_keys)+1 elements. The first element is the evelope key for the recipient having this objects public key.
You will have to pass the envelope key corresponding to the recipient with the data.
Verifies signed data
Documentation generated on Mon, 21 May 2007 10:35:18 +0200 by phpDocumentor 1.3.0RC5