> So is there some way to use the current APIs to convert from that
> PKCS#1 format to X509?

X509 is the structure used for certificates that contains the
identifying information about the certificate along with the public
key.  There is no such thing as a public key in X509 format.
Sometimes people refer to certificates as public key certificates,
because the certificate always has a public key component.

Chris