Smack 4.0.4 ConnectionConfiguration.setSelfSignedCertificateEnabled equivalent

Greetings

Considering custom certificates and smack 4.0.4 I would like to know if there is an equivalent function of setSelfSignedCertificateEnabled.

If not then could you please provide me with the workaround in order to accept a self signed certificate that an openfire uses?

Thank you in advance