Exemplo n.º 1
0
 public TPMSession(EndpointContext ctx, int sessionIdentifier, TPMClient tpmClient)
 {
     _ctx = ctx;
     _sessionIdentifier      = sessionIdentifier;
     _tpmClient              = tpmClient;
     _capabilityClient       = new TPMCapabilityClient(this);
     _endorsementKeyHandling = new TPMEndorsementKeyHandlingClient(this);
     _administrationClient   = new TPMAdministrationClient(this);
     _keyClient              = new TPMKeyClient(this);
     _integrityClient        = new TPMIntegrityClient(this);
     _counterClient          = new CounterClient(this);
 }
Exemplo n.º 2
0
        public ClientContext(FrontEndConnection connection, PacketTransmitter packetTransmitter)
            : base(connection, packetTransmitter)
        {
            _debugClient = new DebugClient (this);
            _authClient = new AuthenticationClient (this);
            _tpmClient = new TPMClient (this);

            RegisterSubsystem (new TPMClientSubsystem (this));

            _configured = true;
            _configuredEvent.Set ();
        }
Exemplo n.º 3
0
        public ClientContext(FrontEndConnection connection, PacketTransmitter packetTransmitter)
            : base(connection, packetTransmitter)
        {
            _debugClient = new DebugClient(this);
            _authClient  = new AuthenticationClient(this);
            _tpmClient   = new TPMClient(this);

            RegisterSubsystem(new TPMClientSubsystem(this));

            _configured = true;
            _configuredEvent.Set();
        }