[wsf-c-dev] WSF4PHP API addtions

James Clark james at wso2.com
Wed Dec 13 09:37:37 PST 2006


> Here's what I would suggest for encryption  Provide an option
> "encryptionPrivateKey" whose value is a PHP object, representing a
> private key used for encryption. 

I'm confused here.  The private key is, of course, for decryption.  For
encryption we'll need the sender's public key.  There's no security
issue with this, so I think the most flexible solution for encryption is
to have an option whose value is public key in binary format (is that
DER format?) represented as a PHP string.  Then you have a variety of
convenience functions to create this binary string from various sources
(such as a file or keystore or LDAP or whatever).

James





More information about the Wsf-c-dev mailing list