public static boolean serverSupportsSecretKeyBackups ( XMPPConnection connection ) throws XMPPException . XMPPErrorException , SmackException . NotConnectedException , InterruptedException , SmackException . NoResponseException { return ServiceDiscoveryManager . getInstanceFor ( connection ) . serverSupportsFeature ( PubSubFeature . access_whitelist . toString ( ) ) ; }
Determine if we can sync secret keys using private PEP nodes as described in the XEP . Requirements on the server side are support for PEP and support for the whitelist access model of PubSub .