Method to check if the key has private exponent
Serialization to pem format
Extract bzero to separate method
Some cleanup