index
int64
0
0
repo_id
stringlengths
26
205
file_path
stringlengths
51
246
content
stringlengths
8
433k
__index_level_0__
int64
0
10k
0
Create_ds/PigPen/pigpen-cascading/src/main/java/pigpen
Create_ds/PigPen/pigpen-cascading/src/main/java/pigpen/cascading/ReduceBuffer.java
/* * * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
2,200
0
Create_ds/PigPen/pigpen-cascading/src/main/java/pigpen
Create_ds/PigPen/pigpen-cascading/src/main/java/pigpen/cascading/PigPenAggregateBy.java
/* * * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
2,201
0
Create_ds/PigPen/pigpen-pig/src/main/java
Create_ds/PigPen/pigpen-pig/src/main/java/pigpen/PigPenException.java
/* * * Copyright 2013-2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
2,202
0
Create_ds/PigPen/pigpen-pig/src/main/java
Create_ds/PigPen/pigpen-pig/src/main/java/pigpen/PigPenFn.java
/* * * Copyright 2013-2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
2,203
0
Create_ds/PigPen/pigpen-pig/src/main/java
Create_ds/PigPen/pigpen-pig/src/main/java/pigpen/PigPenPartitioner.java
/* * * Copyright 2014-2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
2,204
0
Create_ds/PigPen/pigpen-pig/src/main/java
Create_ds/PigPen/pigpen-pig/src/main/java/pigpen/PigPenFnAlgebraic.java
/* * * Copyright 2013-2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
2,205
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/ParameterMalleabilityTest.java
package software.amazon.encryption.s3; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import software.amazon.awssdk.core.ResponseInputStream; import software.amazon.awssdk.core.sync.RequestBody; import software.amazon.awssdk.services.s3.S3Client; import software.amazon.awssdk.services.s3.mo...
2,206
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3EncryptionClientCRTTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import com.amazonaws.services.s3.AmazonS3Encryption; import com.amazonaws.services.s3.AmazonS3EncryptionClient; import com.amazonaws.services.s3.model.CryptoConfiguration; ...
2,207
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3EncryptionClientCompatibilityTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import com.amazonaws.regions.Region; import com.amazonaws.regions.Regions; import com.amazonaws.services.kms.AWSKMS; import com.amazonaws.services.kms.AWSKMSClientBuilder; ...
2,208
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3EncryptionClientRsaKeyPairTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import software.amazon.awssdk.core.ResponseBytes; import software.amazon.awssdk.core.sync.Request...
2,209
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3EncryptionClientStreamTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import com.amazonaws.services.s3.AmazonS3Encryption; import com.amazonaws.services.s3.AmazonS3EncryptionClient; import com.amazonaws.services.s3.model.CryptoConfiguration; ...
2,210
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3EncryptionClientTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import com.amazonaws.services.s3.AmazonS3EncryptionClientV2; import com.amazonaws.services.s3.AmazonS3EncryptionV2; import com.amazonaws.services.s3.model.CryptoConfigurati...
2,211
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3EncryptionClientRangedGetCompatibilityTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import com.amazonaws.services.s3.AmazonS3Encryption; import com.amazonaws.services.s3.AmazonS3EncryptionClient; import com.amazonaws.services.s3.model.CryptoConfiguration; ...
2,212
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3AsyncEncryptionClientTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import com.amazonaws.services.s3.AmazonS3Encryption; import com.amazonaws.services.s3.AmazonS3EncryptionClient; import com.amazonaws.services.s3.AmazonS3EncryptionClientV2;...
2,213
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/S3EncryptionClientMultipartUploadTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import org.apache.commons.io.IOUtils; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; ...
2,214
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/DefaultDataKeyGeneratorTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; imp...
2,215
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/DecryptionMaterialsTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import software.amazon.awssdk.services.s3.model.GetObjectRequest; import software.amaz...
2,216
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/EncryptionMaterialsRequestTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import software.amazon.awssdk.services.s3.model.PutObjectRequest; import java.util.Ha...
2,217
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/PartialRsaKeyPairTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.S3EncryptionClientException; import java.security...
2,218
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/RsaKeyringTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.S3EncryptionClientException; import static org.junit.jupiter.api.Assertions.assertThrows;...
2,219
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/EncryptedDataKeyTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.Arrays; import static org.junit.jupiter.api.Assertions.assertEquals...
2,220
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/KmsKeyringTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.S3EncryptionClientException; import static org.junit.jupiter.api.Assertions.assertThrows;...
2,221
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/EncryptionMaterialsTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import software.amazon.awssdk.services.s3.model.PutObjectRequest; import software.amaz...
2,222
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/materials/AesKeyringTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.S3EncryptionClientException; import static org.junit.jupiter.api.Assertions.assertThrows;...
2,223
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/internal/ContentMetadataStrategyTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import software.amazon.awssdk.services.s3.S3Client; import software.amazon.awssdk.servi...
2,224
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/internal/ContentMetadataTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; import software.amazon....
2,225
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/internal/StreamingAesGcmContentStrategyTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.S3EncryptionClientException;...
2,226
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/internal/ApiNameVersionTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; public...
2,227
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/utils/S3EncryptionClientTestResources.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.utils; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import software.amazon.awssdk.services.s3.S3AsyncClient; import software.amazon.awssdk.serv...
2,228
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/utils/BoundedStreamBufferer.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.utils; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; /** * Reads an InputStream instances into memory. */ public class Bou...
2,229
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/utils/BoundedInputStream.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.utils; import java.io.InputStream; /** * Test utility class. * Stream of a fixed number of printable ASCII characters. * Useful for testing stream uploads of a specific ...
2,230
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/utils/MarkResetBoundedZerosInputStream.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.utils; import java.io.InputStream; /** * Test utility class. * Stream of a fixed number of zeros. Supports arbitrary mark/reset. * Useful for testing stream uploads of a...
2,231
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/examples/MultipartUploadExampleTest.java
package software.amazon.encryption.s3.examples; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.utils.S3EncryptionClientTestResources; import java.io.IOException; public class MultipartUploadExampleTest { @Test public void testMultipartUploadExamples() throws IOException { fi...
2,232
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/examples/RangedGetExampleTest.java
package software.amazon.encryption.s3.examples; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.utils.S3EncryptionClientTestResources; public class RangedGetExampleTest { @Test public void testRangedGetExamples() { final String bucket = S3EncryptionClientTestResources.BUCKET; ...
2,233
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/examples/AsyncClientExampleTest.java
package software.amazon.encryption.s3.examples; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.utils.S3EncryptionClientTestResources; public class AsyncClientExampleTest { @Test public void testAsyncClientExamples() { final String bucket = S3EncryptionClientTestResources.BUCK...
2,234
0
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/test/java/software/amazon/encryption/s3/examples/PartialKeyPairExampleTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.examples; import org.junit.jupiter.api.Test; import software.amazon.encryption.s3.utils.S3EncryptionClientTestResources; public class PartialKeyPairExampleTest { @Test...
2,235
0
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3/examples/MultipartUploadExample.java
package software.amazon.encryption.s3.examples; import static org.junit.jupiter.api.Assertions.assertTrue; import static software.amazon.encryption.s3.S3EncryptionClient.withAdditionalConfiguration; import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.KMS_KEY_ID; import static software.ama...
2,236
0
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3/examples/RangedGetExample.java
package software.amazon.encryption.s3.examples; import static org.junit.jupiter.api.Assertions.assertEquals; import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.KMS_KEY_ID; import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.appendTestSuffix; import software...
2,237
0
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3/examples/PartialKeyPairExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.examples; import software.amazon.awssdk.core.ResponseBytes; import software.amazon.awssdk.core.sync.RequestBody; import software.amazon.awssdk.services.s3.S3Client; import s...
2,238
0
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/examples/java/software/amazon/encryption/s3/examples/AsyncClientExample.java
package software.amazon.encryption.s3.examples; import static org.junit.jupiter.api.Assertions.assertEquals; import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.KMS_KEY_ID; import static software.amazon.encryption.s3.utils.S3EncryptionClientTestResources.appendTestSuffix; import software...
2,239
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/S3EncryptionClientSecurityException.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; public class S3EncryptionClientSecurityException extends S3EncryptionClientException { public S3EncryptionClientSecurityException(String message) { super(messa...
2,240
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/S3EncryptionClientException.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import software.amazon.awssdk.core.exception.SdkClientException; public class S3EncryptionClientException extends SdkClientException { public S3EncryptionClientExcept...
2,241
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/S3AsyncEncryptionClient.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; import software.amazon.awssdk.awscore.exce...
2,242
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/S3EncryptionClientUtilities.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import software.amazon.awssdk.services.s3.model.DeleteObjectsRequest; import software.amazon.awssdk.services.s3.model.ObjectIdentifier; import software.amazon.encryption.s3...
2,243
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/S3EncryptionClient.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; import software.amazon.awssdk.awscore.exce...
2,244
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/DecryptDataKeyStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import java.security.GeneralSecurityException; public interface DecryptDataKeyStrategy { boolean isLegacy(); String keyProviderInfo(); byte[] decry...
2,245
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/DecryptMaterialsRequest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.util.Collections; import java.util.List; import java.util.Map; import software.amazon.aws...
2,246
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/AesKeyring.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import software.amazon.encryption.s3.S3EncryptionClientException; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; import software.amazon.encryptio...
2,247
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/DataKeyGenerator.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import javax.crypto.SecretKey; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; import java.security.Provider; @FunctionalInterface public interf...
2,248
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/PartialKeyPair.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import java.security.PrivateKey; import java.security.PublicKey; /** * This interface allows use of key pairs where only one of the public or private keys * ha...
2,249
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/MultipartConfiguration.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import software.amazon.encryption.s3.internal.MultiFileOutputStream; import software.amazon.encryption.s3.internal.UploadObjectObserver; import java.util.concurr...
2,250
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/S3Keyring.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.encryption.s3.S3EncryptionClient; import software.amazon.encryption.s3.S3Encrypt...
2,251
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/EncryptDataKeyStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import java.security.GeneralSecurityException; import java.security.SecureRandom; public interface EncryptDataKeyStrategy { String keyProviderInfo(); de...
2,252
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/EncryptionMaterials.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.services.s3.model.S3Request; import software.amazon.encryption.s3.algorit...
2,253
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/DefaultCryptoMaterialsManager.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; import java.security.Provider; public class DefaultCryptoMaterialsManager implements Cryptograph...
2,254
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/CryptographicMaterialsManager.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; public interface CryptographicMaterialsManager { EncryptionMaterials getEncryptionMaterials(EncryptionMaterialsRequest request); DecryptionMaterials decry...
2,255
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/GenerateDataKeyStrategy.java
package software.amazon.encryption.s3.materials; public interface GenerateDataKeyStrategy { String keyProviderInfo(); EncryptionMaterials generateDataKey(EncryptionMaterials materials); }
2,256
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/DataKeyStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; public abstract class DataKeyStrategy implements GenerateDataKeyStrategy, EncryptDataKeyStrategy, DecryptDataKeyStrategy { }
2,257
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/EncryptionMaterialsRequest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.util.Collections; import java.util.Map; import software.amazon.awssdk.services.s3.model.S...
2,258
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/KmsKeyring.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; import software.amazon.awssdk.co...
2,259
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/DecryptionMaterials.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.services.s3.model.GetObjectRequest; import software.amazon.encryption.s3....
2,260
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/EncryptedDataKey.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; public class EncryptedDataKey { // forms the "domain" of the key e.g. "aws-kms" private final String _keyProviderId; // a unique identifer e.g. an A...
2,261
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/RsaKeyring.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import software.amazon.encryption.s3.S3EncryptionClientException; import software.amazon.encryption.s3.internal.CryptoFactory; import javax.crypto.Cipher; import...
2,262
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/DefaultDataKeyGenerator.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; import software.amazon.encryption.s3.internal.CryptoFactory; import javax.crypto.KeyGenerator; im...
2,263
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/Keyring.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import java.util.List; /** * Keyring defines the interface for wrapping data keys. A {@link CryptographicMaterialsManager} will use * keyrings to encrypt and d...
2,264
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/PartialRsaKeyPair.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import software.amazon.encryption.s3.S3EncryptionClientException; import java.security.KeyPair; import java.security.PrivateKey; import java.security.PublicKey; ...
2,265
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/materials/CryptographicMaterials.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.materials; import software.amazon.awssdk.services.s3.model.S3Request; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; import software.amazon.encryption.s3.in...
2,266
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/algorithms/AlgorithmSuite.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.algorithms; public enum AlgorithmSuite { ALG_AES_256_GCM_IV12_TAG16_NO_KDF(0x0072, false, "AES", 256, "AES/GCM/NoPadding"...
2,267
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/algorithms/AlgorithmConstants.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.algorithms; class AlgorithmConstants { /** * The maximum number of 16-byte blocks that can be encrypted with a * GCM cipher. Note the maximum bit-length of th...
2,268
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/UploadObjectObserver.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.apache.commons.logging.LogFactory; import software.amazon.awssdk.core.async.AsyncRequestBody; import software.amazon.awssdk.services.s3.S3AsyncClient; i...
2,269
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/BufferedCipherSubscriber.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.reactivestreams.Subscriber; import org.reactivestreams.Subscription; import software.amazon.awssdk.utils.BinaryUtils; import software.amazon.encryption....
2,270
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/MultipartEncryptedContent.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.awssdk.core.async.AsyncRequestBody; import javax.crypto.Cipher; public class MultipartEncryptedContent extends EncryptedContent { priv...
2,271
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/MetadataKeyConstants.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; public class MetadataKeyConstants { public static final String ENCRYPTED_DATA_KEY_V1 = "x-amz-key"; public static final String ENCRYPTED_DATA_KEY_V2 = "x-a...
2,272
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/CipherMode.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import javax.crypto.Cipher; /** * A wrapper around Cipher.opMode which models multipart encryption * as distinct from "ordinary" encryption. */ public enum Cip...
2,273
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/PartCreationEvent.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import java.io.File; public class PartCreationEvent { private final File part; private final int partNumber; private final boolean isLastPart; pri...
2,274
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/ContentDecryptionStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.encryption.s3.materials.DecryptionMaterials; import java.io.InputStream; @FunctionalInterface public interface ContentDecryptionStrategy {...
2,275
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/EncryptedContent.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.awssdk.core.async.AsyncRequestBody; public class EncryptedContent { private AsyncRequestBody _encryptedRequestBody; private long _...
2,276
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/CipherPublisher.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.reactivestreams.Subscriber; import software.amazon.awssdk.core.async.SdkPublisher; import software.amazon.encryption.s3.legacy.internal.RangedGetUtils; ...
2,277
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/PutEncryptedObjectPipeline.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.core.async.AsyncRequestBody; import software.amazon.awssdk.services.s3.S3A...
2,278
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/MultipartContentEncryptionStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.encryption.s3.materials.EncryptionMaterials; @FunctionalInterface public interface MultipartContentEncryptionStrategy { MultipartEncryp...
2,279
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/ContentMetadataEncodingStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.encryption.s3.materials.EncryptionMaterials; import java.util.Map; @FunctionalInterface public interface ContentMetadataEncodingStrategy {...
2,280
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/StreamingAesGcmContentStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.core.async.AsyncRequestBody; import software.amazon.encryption.s3.S3Encryp...
2,281
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/CipherInputStream.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.awssdk.core.io.SdkFilterInputStream; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockS...
2,282
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/CryptoFactory.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.encryption.s3.S3EncryptionClientException; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.NoSuchPaddingE...
2,283
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/ApiNameVersion.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; import software.amazon.awssdk.core.ApiName; import java.io.IOException; import java.io.Inp...
2,284
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/MultipartUploadObjectPipeline.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.awscore.exception.AwsServiceException; import software.amazon.awssdk.core....
2,285
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/GetEncryptedObjectPipeline.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.core.async.AsyncResponseTransformer; import software.amazon.awssdk.core.as...
2,286
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/MultiFileOutputStream.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.apache.commons.logging.LogFactory; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import software.amazon.encryption.s3.S3Enc...
2,287
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/FileDeletionEvent.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; /** * A file deletion event. */ public class FileDeletionEvent { // currently only a placeholder so method signature won't be affected by // future chang...
2,288
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/CipherSubscriber.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.reactivestreams.Subscriber; import org.reactivestreams.Subscription; import software.amazon.awssdk.utils.BinaryUtils; import software.amazon.encryption....
2,289
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/AuthenticatedCipherInputStream.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.encryption.s3.S3EncryptionClientSecurityException; import javax.crypto.Cipher; import java.io.IOException; import java.io.InputStream; impo...
2,290
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/ContentMetadata.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.encryption.s3.algorithms.AlgorithmSuite; import software.amazon.encryption.s3.mat...
2,291
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/NoRetriesAsyncRequestBody.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.reactivestreams.Subscriber; import software.amazon.awssdk.core.async.AsyncRequestBody; import software.amazon.encryption.s3.S3EncryptionClientException;...
2,292
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/AsyncContentEncryptionStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.awssdk.core.async.AsyncRequestBody; import software.amazon.encryption.s3.materials.EncryptionMaterials; @FunctionalInterface public interfa...
2,293
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/BufferedCipherPublisher.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.reactivestreams.Subscriber; import software.amazon.awssdk.core.async.SdkPublisher; import software.amazon.encryption.s3.materials.CryptographicMaterials...
2,294
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/CipherProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.encryption.s3.S3EncryptionClientException; import software.amazon.encryption.s3.S3EncryptionClientSecurityException; import software.amazon....
2,295
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/OnFileDelete.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; /** * A service provider interface (SPI) used to notify the event of a file * deletion. */ public interface OnFileDelete { /** * Called upon a file de...
2,296
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/MultipartUploadMaterials.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import software.amazon.awssdk.services.s3.model.S3Request; import software.amazon.encryption.s3.S3Encryp...
2,297
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/CipherAsyncRequestBody.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import org.reactivestreams.Subscriber; import software.amazon.awssdk.core.async.AsyncRequestBody; import software.amazon.encryption.s3.materials.CryptographicMater...
2,298
0
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3
Create_ds/amazon-s3-encryption-client-java/src/main/java/software/amazon/encryption/s3/internal/ContentMetadataStrategy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.amazon.encryption.s3.internal; import software.amazon.awssdk.core.ResponseInputStream; import software.amazon.awssdk.protocols.jsoncore.JsonNode; import software.amazon.awssdk.protocols.jsoncore...
2,299