added javadoc to stripPassphraseAndCertificate