fixed copy-paste errors
Added PKICertificateInfo code and tests