converts a pem formatted string to a x509certificate instance . concode_field_sep String X509_CERT_TYPE concode_elem_sep int LINE_LENGTH concode_elem_sep String END_CERT concode_elem_sep String BEGIN_CERT concode_elem_sep byte[] CHUNK_SEPARATOR concode_elem_sep String FINGERPRINT_ALGORITHM concode_field_sep String generateFingerprint concode_elem_sep String convertToPEM concode_elem_sep String convertToPEM
X509Certificate function ( String arg0 ) { if ( arg0 == null ) { return null ; } CertificateFactory loc0 = CertificateFactory . getInstance ( X509_CERT_TYPE ) ; InputStream loc1 = new ByteArrayInputStream ( arg0 . getBytes ( ) ) ; return ( X509Certificate ) loc0 . generateCertificate ( loc1 ) ; }