This section describes the procedure followed by a SNMPv2 entity whenever either a management request or a trap notification is to be transmitted by a SNMPv2 party.
In particular, if the authentication protocol for the originating SNMPv2 party is identified as noAuth, then this component corresponds to the OCTET STRING value of zero length.
Its authData component is the constructed SnmpMgmtCom value.
Its privData component is the (possibly encrypted) serialization of the SnmpAuthMsg value according to the conventions of [5].
In particular, if the privacy protocol for the receiving SNMPv2 party is identified as noPriv, then the privData component is unencrypted. Otherwise, the privData component is processed according to the privacy protocol.
Note that the above procedure does not include any application of any SNMPv2 access control policy (see section 2.13).