// // Copyright (c) Microsoft Corporation. All rights reserved. // // // File generated by WinMDIDL version 8.00.0021 // import "inspectable.idl"; import "AsyncInfo.idl"; import "EventToken.idl"; import "windowscontracts.idl"; import "Windows.Foundation.idl"; import "Windows.Storage.Streams.idl"; // Forward Declare namespace Windows { namespace Foundation { interface IAsyncAction; apicontract UniversalApiContract; } } namespace Windows { namespace Storage { namespace Streams { interface IBuffer; interface IInputStream; interface IOutputStream; } } } namespace Windows { namespace Security { namespace Cryptography { namespace DataProtection { interface IDataProtectionProvider; interface IDataProtectionProviderFactory; runtimeclass DataProtectionProvider; } } } } // Generic instantiations // Type definition namespace Windows { namespace Security { namespace Cryptography { namespace DataProtection { [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.Security.Cryptography.DataProtection.DataProtectionProvider)] [uuid(09639948-ED22-4270-BD1C-6D72C00F8787)] interface IDataProtectionProvider : IInspectable { HRESULT ProtectAsync([in] Windows.Storage.Streams.IBuffer* data, [out] [retval] Windows.Foundation.IAsyncOperation** value); HRESULT UnprotectAsync([in] Windows.Storage.Streams.IBuffer* data, [out] [retval] Windows.Foundation.IAsyncOperation** value); HRESULT ProtectStreamAsync([in] Windows.Storage.Streams.IInputStream* src, [in] Windows.Storage.Streams.IOutputStream* dest, [out] [retval] Windows.Foundation.IAsyncAction** value); HRESULT UnprotectStreamAsync([in] Windows.Storage.Streams.IInputStream* src, [in] Windows.Storage.Streams.IOutputStream* dest, [out] [retval] Windows.Foundation.IAsyncAction** value); } [contract(Windows.Foundation.UniversalApiContract, 1.0)] [exclusiveto(Windows.Security.Cryptography.DataProtection.DataProtectionProvider)] [uuid(ADF33DAC-4932-4CDF-AC41-7214333514CA)] interface IDataProtectionProviderFactory : IInspectable { HRESULT CreateOverloadExplicit([in] HSTRING protectionDescriptor, [out] [retval] Windows.Security.Cryptography.DataProtection.DataProtectionProvider** value); } [activatable(Windows.Foundation.UniversalApiContract, 1.0)] [activatable(Windows.Security.Cryptography.DataProtection.IDataProtectionProviderFactory, Windows.Foundation.UniversalApiContract, 1.0)] [contract(Windows.Foundation.UniversalApiContract, 1.0)] [marshaling_behavior(agile)] [threading(both)] runtimeclass DataProtectionProvider { [default] interface Windows.Security.Cryptography.DataProtection.IDataProtectionProvider; } } } } }