Generate CA certificate using own private key through API

I found the API to generate origin CA certificate in #origin-ca-create-certificate section of api links.
Does this API auto generate private key and certificate pair?
Is it possible to generate CA certificate using own private key through API call?