When creating an AS-only connection, you must specify which domains it can send security related traffic to. You can do this by calling either the DOFConnection.Config.Builder.addDomain method or the DOFConnection.Config.Builder.addTrustedDomain method.
By default, a DOFConnection will send all operation (OAP protocol) and security-related traffic (TRP and TEP protocols). However, it is possible to limit what traffic can be sent over a connection. For example, you can create a connection that can send security-related traffic only.
Note: These special connections do not need to be secure since security-related traffic is automatically encrypted.