repo_name stringlengths 1 52 | repo_creator stringclasses 6
values | programming_language stringclasses 4
values | code stringlengths 0 9.68M | num_lines int64 1 234k |
|---|---|---|---|---|
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace WebAppWithDockerFile.Pages
{
public class PrivacyModel : PageModel
{
private readonly ILogger<PrivacyMod... | 23 |
aws-dotnet-deploy | aws | C# | using WorkerServiceExample;
IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
})
.Build();
await host.RunAsync();
| 11 |
aws-dotnet-deploy | aws | C# | namespace WorkerServiceExample
{
public class Worker : BackgroundService
{
private readonly ILogger<Worker> _logger;
public Worker(ILogger<Worker> logger)
{
_logger = logger;
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
... | 21 |
aws-dotnet-extensions-configuration | aws | C# | using Amazon;
using Amazon.Extensions.NETCore.Setup;
using Amazon.SimpleSystemsManagement;
using Amazon.SimpleSystemsManagement.Model;
using Samples;
//populates some sample data to be used by this example project
await PopulateSampleDataForThisProject().ConfigureAwait(false);
var builder = WebApplication.CreateBu... | 53 |
aws-dotnet-extensions-configuration | aws | C# | using System;
namespace Samples
{
public class Settings
{
public string StringValue { get; set; }
public int IntegerValue { get; set; }
public DateTime DateTimeValue { get; set; }
public bool BooleanValue { get; set; }
public TimeSpan TimeSpanValue { get; set; }
}... | 14 |
aws-dotnet-extensions-configuration | aws | C# | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
namespace Samples.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
private readonly IOptions<Settings> _settings;
public ValuesController(IOptions<Settings> ... | 28 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 50 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 57 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 37 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 43 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 50 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 145 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 77 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 38 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 193 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 78 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 256 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 146 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 177 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 48 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 40 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 26 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 129 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 39 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 99 |
aws-dotnet-extensions-configuration | aws | C# | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Amazon;
using Amazon.AppConfig;
using Amazon.AppConfig.Model;
using Amazon.Extensions.NETCore.Setup;
using Microsoft.Extensions.Configuration;
using Xuni... | 215 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 47 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 143 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 43 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 88 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 82 |
aws-dotnet-extensions-configuration | aws | C# | using System.Collections.Generic;
using Amazon.SimpleSystemsManagement.Model;
using Moq;
using Xunit;
namespace Amazon.Extensions.Configuration.SystemsManager.Tests
{
public class DefaultParameterProcessorTests
{
private readonly IParameterProcessor _parameterProcessor;
public DefaultParame... | 51 |
aws-dotnet-extensions-configuration | aws | C# | using System.Collections.Generic;
using Amazon.Extensions.Configuration.SystemsManager.Internal;
using Xunit;
namespace Amazon.Extensions.Configuration.SystemsManager.Tests
{
public class DictionaryExtensionsTests
{
[Theory]
[MemberData(nameof(EquivalentToData))]
public void TestEqui... | 30 |
aws-dotnet-extensions-configuration | aws | C# | using System.Collections.Generic;
using Amazon.SimpleSystemsManagement.Model;
using Xunit;
namespace Amazon.Extensions.Configuration.SystemsManager.Tests
{
public class JsonParameterProcessorTests
{
private readonly IParameterProcessor _parameterProcessor;
public JsonParameterProcessorTests... | 48 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 110 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 48 |
aws-dotnet-extensions-configuration | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license"... | 94 |
aws-dotnet-extensions-configuration | aws | C# | using System.Collections.Generic;
using System.Linq;
using Amazon.Extensions.Configuration.SystemsManager.Internal;
using Amazon.SimpleSystemsManagement.Model;
using Moq;
using Xunit;
namespace Amazon.Extensions.Configuration.SystemsManager.Tests
{
public class SystemsManagerProcessorTests
{
[Theory... | 41 |
aws-dotnet-session-provider | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SampleWebApp
{
public partial class Default : System.Web.UI.Page
{
const string PageCountKey = "PageCount";
protected void Page_Load(object se... | 35 |
aws-dotnet-session-provider | aws | C# | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------------... | 27 |
aws-dotnet-session-provider | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("... | 36 |
aws-dotnet-session-provider | aws | C# | /*
* Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the... | 1,051 |
aws-dotnet-session-provider | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if (NET35 ||NET40)
[assembl... | 42 |
aws-dotnet-session-provider | aws | C# | using Amazon;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DocumentModel;
using Amazon.DynamoDBv2.Model;
using Amazon.SessionProvider;
using Amazon.Util;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Reflection;
using System.Threading;
using... | 162 |
aws-dotnet-session-provider | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("... | 37 |
aws-dotnet-trace-listener | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Diagnostics;
namespace SampleTraceListenerUsage
{
/// <summary>
/// <para>
/// This simple console application is configured in the app.config to use the AWS Trace Listener. This w... | 34 |
aws-dotnet-trace-listener | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("... | 37 |
aws-dotnet-trace-listener | aws | C# | /*
* Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the... | 1,211 |
aws-dotnet-trace-listener | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if (NET35 ||NET40)
[assem... | 41 |
aws-encryption-sdk-dafny | aws | C# | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using Org.BouncyCastle.Utilities.Encoders;
using RSA = RSAEncryption.RSA;
names... | 159 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
/// Demonstrates setting the commitme... | 149 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
usi... | 178 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
/// Demonstrate li... | 135 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Org.BouncyCastle.Security; // In this example, we use BouncyCastle to generate a wrap... | 121 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
using static Exampl... | 154 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using Amazon;
using Amazon.KeyManagementService;
using Amazon.SecurityToken;
using Amazon.SecurityToken.Model;
using AWS.EncryptionSDK.Core;
using static ExampleUt... | 114 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
/// Demonstrate an encrypt/decrypt cy... | 162 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
/// <summary>
/// Demonstrates creating a custom Cryptographic Material... | 71 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Text;
using Amazon;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
usi... | 177 |
aws-encryption-sdk-dafny | aws | C# | using System.IO;
using static ExampleUtils.ExampleUtils;
namespace ExampleUtils
{
public static class WriteExampleResources
{
public static void EncryptAndWrite(MemoryStream plaintext, string kmsKeyArn, string fileName)
{
var ciphertext = EncryptMessageWithKMSKey(plaintext, kmsKeyAr... | 15 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.Exa... | 118 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
//... | 126 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
/// Demonstrate an encrypt/decrypt cycle u... | 93 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.IO;
using Amazon;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
using static ExampleUti... | 101 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.Exa... | 131 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.Exa... | 108 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.Exa... | 146 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.Exa... | 139 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
using static ExampleUtils.ExampleUtils;
//... | 137 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Org.BouncyCastle.Security; // In this example, we use BouncyCastle to generate a wrap... | 108 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
using Xunit;
/// Demonstrate an encrypt/decrypt cycle using a raw RSA keyring.
public clas... | 115 |
aws-encryption-sdk-dafny | aws | C# | using System.Reflection;
[assembly: AssemblyTitle("AWS.EncryptionSDK")]
// This should be kept in sync with the version number in AWSEncryptionSDK.csproj
[assembly: AssemblyVersion("3.1.0")]
| 7 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.IO;
using System.Text;
using Wrappers_Compile;
using ibyteseq = Dafny.ISequence<byte>;
using byteseq = Dafny.Sequence<byte>;
using icharseq = Dafny.ISequence<char>;
using charseq = Da... | 90 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
using Amazon.Runtime;
... | 33 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
using Amazon.Runtime;
... | 55 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
using AWS.EncryptionSDK.Core;
namespace AW... | 224 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public abstract class Aw... | 143 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class AwsCryptogr... | 21 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class AwsCryptogr... | 17 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
using AWS.EncryptionSDK.Core;
namespace AW... | 35 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
using AWS.EncryptionSDK.Core;
namespace AW... | 36 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public abstract class Cl... | 23 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
using Amazon.Runtime;
... | 33 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 56 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 67 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 57 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 69 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 67 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 57 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 66 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateAwsKm... | 66 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateDefau... | 17 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateDefau... | 31 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateMulti... | 44 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateRawAe... | 73 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class CreateRawRs... | 83 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
using AWS.EncryptionSDK.Core;
namespace AW... | 52 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public abstract class Cr... | 33 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class DecryptionM... | 70 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class DecryptMate... | 74 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.