Hi,
I'm a new dev at Microsoft working with Daniel Mihai. We would like to
introduce wrappers for the C++ APIs responsible for Security 2.0 support plus a
few C++ APIs that would allow to set manifest templates and ACLs from XMLs.
Please speak up with any questions or feedback.
1. The new C++ APIs would be:
a. PermissionPolicy::CreateManifestFromXml - this will create a list of
rules that can be passed to the existing API to set the app's manifest template.
b. PermissionPolicy::CreateManifestXmlFromRules - the reverse of the above
method.
c. PermissionConfigurator::SetPermissionManifestFromXml - allows to set
the manifest template from an XML.
d. PermissionPolicy::CreatePolicyFromXml - will set the PermissionPolicy
contents from an XML.
2. C wrappers for the following C++ APIs:
a. BusAttachment:
i.
GetPermissionConfigurator;
ii.
RegisterApplicationStateListener;
iii.
UnregisterApplicationStateListener;
iv.
AddApplicationStateRule;
v.
RemoveApplicationStateRule;
b. PermissionConfigurator:
i.
GetApplicationState;
ii.
SetApplicationState;
iii.
GetClaimCapabilities;
iv.
SetClaimCapabilities;
v.
GetClaimCapabilityAdditionalInfo;
vi.
SetClaimCapabilityAdditionalInfo;
vii.
SetPermissionManifestFromXml - one of the new APIs from #1;
c. ApplicationStateListener:
i. State
callback - for now will accept key information encoded in PEM format.
ii.
Constructor and destructor;
d. SecurityApplicationProxy:
i.
Constructor and destructor;
ii. Claim -
input keys and certs will be encoded in PEM format.
iii.
GetManifestTemplate (plus a destructor function for the result of this wrapper)
- will return the template in the XML format.
iv.
GetApplicationState;
v.
GetClaimCapabilities.
vi.
GetClaimCapabilitiesAdditionalInfo;
vii.
UpdatePolicy;
viii.
UpdateIdentity;
ix.
InstallMembership;
x. Reset;
xi. ResetPolicy;
xii.
GetEccPublicKey (plus a destructor function for the result of this wrapper);
For all of these I will also write unit tests.
Thanks,
Pawel Winogrodzki
_______________________________________________
Allseen-core mailing list
[email protected]
https://lists.allseenalliance.org/mailman/listinfo/allseen-core