Esempio n. 1
0
 internal SetLearnModeS2Operation(SecurityManagerInfo securityManagerInfo)
     : base(false, null, false)
 {
     _securityManagerInfo         = securityManagerInfo;
     _prevHomeId                  = _securityManagerInfo.Network.HomeId;
     _securityTestSettingsService = new SecurityTestSettingsService(_securityManagerInfo, true);
 }
Esempio n. 2
0
 internal SecurityS2ReportTask(SecurityManagerInfo securityManagerInfo,
                               SecurityS2CryptoProvider securityS2CryptoProvider, SpanTable spanTable, MpanTable mpanTable)
     : base(0, 0, new ByteIndex(COMMAND_CLASS_SECURITY_2.ID))
 {
     _securityManagerInfo      = securityManagerInfo;
     _securityS2CryptoProvider = securityS2CryptoProvider;
     _spanTable = spanTable;
     _mpanTable = mpanTable;
     _securityTestSettingsService = new SecurityTestSettingsService(_securityManagerInfo, false);
 }
Esempio n. 3
0
 internal SendDataSecureS2Task(SecurityManagerInfo securityManagerInfo,
                               SecurityS2CryptoProvider securityS2CryptoProvider, SinglecastKey sckey, SpanTable spanTable, MpanTable mpanTable,
                               byte nodeId,
                               byte[] data,
                               TransmitOptions txOptions)
     : base(false, null, false)
 {
     _securityManagerInfo      = securityManagerInfo;
     _securityS2CryptoProvider = securityS2CryptoProvider;
     _mpanTable = mpanTable;
     _spanTable = spanTable;
     _sckey     = sckey;
     SubstituteSettings.SetFlag(SubstituteFlags.DenySecurity);
     CommandToSecureSend = data;
     NodeId      = nodeId;
     _peerNodeId = new InvariantPeerNodeId(_securityManagerInfo.Network.NodeId, NodeId);
     TxOptions   = txOptions;
     _securityTestSettingsService = new SecurityTestSettingsService(_securityManagerInfo, false);
 }
Esempio n. 4
0
 public Complete(SecurityManagerInfo securityManagerInfo)
     : base(false, null, false)
 {
     _securityManagerInfo         = securityManagerInfo;
     _securityTestSettingsService = new SecurityTestSettingsService(_securityManagerInfo, true);
 }