Files
codeql/csharp/ql/test/query-tests/Security Features/CWE-321/HardcodedSymmetricEncryptionKey/Stubs.cs
2019-10-22 09:55:39 +01:00

22 lines
547 B
C#

namespace Windows.Security.Cryptography
{
public static class CryptographicBuffer
{
public static Windows.Storage.Streams.IBuffer CreateFromByteArray(byte[] value) => throw null;
}
}
namespace Windows.Storage.Streams
{
public interface IBuffer { }
}
namespace Windows.Security.Cryptography.Core
{
public sealed class CryptographicKey { }
public sealed class SymmetricKeyAlgorithmProvider
{
public CryptographicKey CreateSymmetricKey(Windows.Storage.Streams.IBuffer keyMaterial) => throw null;
}
}