the problem is that i can not export the private key from my ecdsa object in a certain case.
Given:
a root certificate which is used to sign a