convert a java string to an private key concode_field_sep Logger LOGGER concode_elem_sep String ALGORITHM concode_elem_sep int RSA_KEY_LENGTH concode_field_sep X500Name makeDistinguishedName concode_elem_sep String getHostName concode_elem_sep String certificateToPem concode_elem_sep KeyPair generateRsaKeyPair concode_elem_sep String derToPem concode_elem_sep File createFileObject concode_elem_sep PrivateKey derToPrivateKey concode_elem_sep byte[] pemToDer concode_elem_sep char[] formatPassword concode_elem_sep X509Certificate derToCertificate concode_elem_sep KeyFactory getRsaKeyFactory concode_elem_sep byte[] keyToDer concode_elem_sep X509Certificate pemToCertificate concode_elem_sep String keyToPem
PrivateKey function ( String arg0 ) { try { return PkiTools . getRsaKeyFactory ( ) . generatePrivate ( new PKCS8EncodedKeySpec ( pemToDer ( arg0 ) ) ) ; } catch ( Exception loc0 ) { throw new CertificateGeneratorException ( "srini_string" , loc0 . getCause ( ) ) ; } }