singrdk/base/Interfaces/Security/PrincipalImpl.csi

37 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
using System;
using Microsoft.Singularity.Loader;
using Microsoft.Singularity.Xml;
using Microsoft.Singularity.Io;
// This is a kernel-only interface
namespace Microsoft.Singularity.Security
{
public struct PrincipalImpl
{
public static Principal Self();
public static Principal MakePrincipal(ulong id);
// this is a kernel-only constructor for the type Principal
public static void Initialize(XmlNode config);
2008-11-17 18:29:00 -05:00
public static Principal NewInvocation(Principal parent, Manifest manifest,
string role, IoMemory rawImage);
// in the following, delegate may not already be a delegate
public static Principal NewDelegation(Principal delegator, Principal target);
2008-03-05 09:52:00 -05:00
public static void Dispose(Principal pr);
public static string ExpandAclIndirection(string name);
public static void RegisterAclCore(Object core);
// "core" is really an AclCore object
public static void Export();
}
}