public KeyManagerHelper(ServerContext ctx, TPMContext tpmContext, int tpmSessionIdentifier, ICommandAuthorizationHelper commandAuthHelper) { _ctx = ctx; _tpmContext = tpmContext; _tpmSessionIdentifier = tpmSessionIdentifier; _commandAuthHelper = commandAuthHelper; }
/// <summary> /// Creates a ServerContext for the specified connection /// </summary> public static ServerContext CreateServerEndpointContext(FrontEndConnection connection, IConnectionsConfiguration connectionConfig, AccessControlList acl, IDictionary<string, TPMContext> tpmContexts) { PacketTransmitter packetTransmitter = new PacketTransmitter(connection); ServerContext ctx = new ServerContext(connection, packetTransmitter, connectionConfig, acl, tpmContexts); packetTransmitter.StartTransmitting(); return ctx; }
public CommandAuthorizationHelper(ServerContext ctx, int tpmSessionIdentifier, TPMContext tpmContext) { _ctx = ctx; _tpmSessionIdentifier = tpmSessionIdentifier; _tpmContext = tpmContext; }