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/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/FrameEncryptionHandlerVeryLongTest.java
package com.amazonaws.encryptionsdk.internal; import static org.junit.Assert.fail; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import com.amazonaws.encryptionsdk.model.CipherFrameHeaders; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.util.Arrays; import javax.crypto.spec.SecretKeySpec; im...
5,400
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/HmacKeyDerivationFunctionTest.java
/* * 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 "license" file...
5,401
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/AwsKmsCmkArnInfoTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import static com.amazonaws.encryptionsdk.TestUtils.assertThrows; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import...
5,402
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/CipherHandlerTest.java
/* * Copyright 2016 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" file...
5,403
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/BlockDecryptionHandlerTest.java
/* * Copyright 2016 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" file...
5,404
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/EncryptionHandlerTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import static com.amazonaws.encryptionsdk.TestUtils.assertThrows; import static java.util.Collections.emptyList; import static org.junit.Assert.assertArrayEquals; i...
5,405
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/FrameDecryptionHandlerTest.java
/* * Copyright 2016 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" file...
5,406
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/EncContextSerializerTest.java
/* * Copyright 2016 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" file...
5,407
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/BlockEncryptionHandlerTest.java
/* * Copyright 2016 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" file...
5,408
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/DecryptionHandlerTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import static com.amazonaws.encryptionsdk.TestUtils.assertThrows; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; imp...
5,409
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/internal/TrailingSignatureAlgorithmTest.java
/* * Copyright 2016 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" file...
5,410
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/model/CiphertextHeadersTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.model; import static com.amazonaws.encryptionsdk.TestUtils.assertThrows; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import...
5,411
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/model/EncryptionMaterialsRequestTest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.model; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import com.amazonaws.encryptionsdk.CommitmentPolicy; import org.junit.Test;...
5,412
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/model/DecryptionMaterialsRequestTest.java
/* * 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 "license" file...
5,413
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/model/KeyBlobTest.java
/* * Copyright 2016 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" file...
5,414
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/model/CipherFrameHeadersTest.java
/* * Copyright 2016 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" file...
5,415
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/model/CipherBlockHeadersTest.java
/* * Copyright 2016 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" file...
5,416
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/model/ByteFormatCheckValues.java
/* * Copyright 2016 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" file...
5,417
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/caching/LocalCryptoMaterialsCacheTest.java
package com.amazonaws.encryptionsdk.caching; import static com.amazonaws.encryptionsdk.TestUtils.assertThrows; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.UsageStat...
5,418
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/caching/CacheIdentifierTests.java
package com.amazonaws.encryptionsdk.caching; import static com.amazonaws.encryptionsdk.CryptoAlgorithm.ALG_AES_128_GCM_IV12_TAG16_HKDF_SHA256; import static com.amazonaws.encryptionsdk.CryptoAlgorithm.ALG_AES_256_GCM_IV12_TAG16_HKDF_SHA384_ECDSA_P384; import static java.nio.charset.StandardCharsets.UTF_8; import stati...
5,419
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/caching/CacheTestFixtures.java
package com.amazonaws.encryptionsdk.caching; import com.amazonaws.encryptionsdk.CommitmentPolicy; import com.amazonaws.encryptionsdk.DataKey; import com.amazonaws.encryptionsdk.DefaultCryptoMaterialsManager; import com.amazonaws.encryptionsdk.MasterKey; import com.amazonaws.encryptionsdk.TestUtils; import com.amazonaw...
5,420
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/caching/NullCryptoMaterialsCacheTest.java
package com.amazonaws.encryptionsdk.caching; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import com.amazonaws.encryptionsdk.model.DecryptionMaterials; import com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest; import com...
5,421
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/caching/LocalCryptoMaterialsCacheThreadStormTest.java
package com.amazonaws.encryptionsdk.caching; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import com.amazonaws.encryptionsdk.DataKey; import com.amazonaws.encryptionsdk.caching.CryptoMaterialsCache.UsageStats; import com.amazonaws.encryptionsdk.model.DecryptionMaterials; import co...
5,422
0
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/test/java/com/amazonaws/encryptionsdk/caching/CachingCryptoMaterialsManagerTest.java
package com.amazonaws.encryptionsdk.caching; import static com.amazonaws.encryptionsdk.TestUtils.assertThrows; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.mockito.ArgumentMatchers.any; import static org.mocki...
5,423
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/FileStreamingExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.security.SecureRandom; import java.util.Collections; import java.u...
5,424
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/BasicMultiRegionKeyEncryptionExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import com.amazonaws.encryptionsdk.AwsCrypto; import com.amazonaws.encryptionsdk.CommitmentPolicy; import com.amazonaws.encryptionsdk.CryptoResult; import com.amazonaws.en...
5,425
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/SetCommitmentPolicyExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import com.amazonaws.encryptionsdk.AwsCrypto; impor...
5,426
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/EscrowedEncryptExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.security.GeneralSec...
5,427
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/SetEncryptionAlgorithmExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import com.amazonaws.encryptionsdk.AwsCrypto; impor...
5,428
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/MultipleCmkEncryptExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import com.amazonaws.encryptionsdk.AwsCrypto; impor...
5,429
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/BasicEncryptionExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import com.amazonaws.encryptionsdk.AwsCrypto; impor...
5,430
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/DiscoveryMultiRegionDecryptionExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import com.amazonaws.encryptionsdk.AwsCrypto; import com.amazonaws.encryptionsdk.CommitmentPolicy; import com.amazonaws.encryptionsdk.CryptoResult; import com.amazonaws.en...
5,431
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/SimpleDataKeyCachingExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.nio.charset.StandardCharsets; import java.util.Collections; import java.util.Map; import java.util.concurrent.TimeUnit; import com.amazonaws.encryptionsdk.Aws...
5,432
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/RestrictRegionExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import com.amazonaws.encryptionsdk.AwsCrypto; impor...
5,433
0
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto
Create_ds/aws-encryption-sdk-java/src/examples/java/com/amazonaws/crypto/examples/DiscoveryDecryptionExample.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.crypto.examples; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collections; import java.util.Map; import com.amazonaws.encryptionsdk.AwsCrypto; impor...
5,434
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CryptoOutputStream.java
/* * Copyright 2016 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" file...
5,435
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CryptoMaterialsManager.java
package com.amazonaws.encryptionsdk; import com.amazonaws.encryptionsdk.model.DecryptionMaterials; import com.amazonaws.encryptionsdk.model.DecryptionMaterialsRequest; import com.amazonaws.encryptionsdk.model.EncryptionMaterials; import com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest; /** * The crypto m...
5,436
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/MasterKey.java
/* * Copyright 2016 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" file...
5,437
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/DataKey.java
/* * Copyright 2016 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" file...
5,438
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/ParsedCiphertext.java
/* * 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 "license" file...
5,439
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/MasterKeyProvider.java
/* * Copyright 2016 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" file...
5,440
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CryptoInputStream.java
/* * Copyright 2016 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" file...
5,441
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CryptoResult.java
/* * Copyright 2016 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" file...
5,442
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/MasterKeyRequest.java
/* * Copyright 2016 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" file...
5,443
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/DefaultCryptoMaterialsManager.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk; import static com.amazonaws.encryptionsdk.internal.Utils.assertNonNull; import com.amazonaws.encryptionsdk.exception.AwsCryptoException; import com.amazonaws.encryptionsdk....
5,444
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/EncryptedDataKey.java
/* * Copyright 2016 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" file...
5,445
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/AwsCrypto.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk; import com.amazonaws.encryptionsdk.exception.AwsCryptoException; import com.amazonaws.encryptionsdk.exception.BadCiphertextException; import com.amazonaws.encryptionsdk.inte...
5,446
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CryptoAlgorithm.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk; import com.amazonaws.encryptionsdk.exception.BadCiphertextException; import com.amazonaws.encryptionsdk.internal.CommittedKey; import com.amazonaws.encryptionsdk.internal.Co...
5,447
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CommitmentPolicy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk; /** * Governs how a AwsCrypto behaves during configuration, encryption, and decryption, with respect to * key commitment. */ public enum CommitmentPolicy { /** * On ...
5,448
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/package-info.java
/* * Copyright 2016 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" file...
5,449
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/KmsMethods.java
/* * Copyright 2016 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" file...
5,450
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/DiscoveryFilter.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; /** * This class stores the configuration for filtering A...
5,451
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/KmsMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.parseInfoFromKeyArn; import static java.util.Arrays.asList; import static java.util.Collections.empty...
5,452
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/AwsKmsMrkAwareMasterKey.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import com.amazonaws.AmazonServiceException; import com.amazonaws.AmazonWebServiceRequest; import...
5,453
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/KmsMasterKey.java
/* * Copyright 2016 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" file...
5,454
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/AwsKmsMrkAwareMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.parseInfoFromKeyArn; import st...
5,455
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/package-info.java
/* * Copyright 2016 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" file...
5,456
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/jce/KeyStoreProvider.java
/* * Copyright 2016 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" file...
5,457
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/jce/JceMasterKey.java
/* * Copyright 2016 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" file...
5,458
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/jce/package-info.java
/* * Copyright 2016 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" file...
5,459
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/RegionalClientSupplier.java
package com.amazonaws.encryptionsdk.kmssdkv2; import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.kms.KmsClient; @FunctionalInterface public interface RegionalClientSupplier { /** * Supplies an {@link KmsClient} instance to use for a given {@link Region}. The {@link * KmsMaste...
5,460
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/KmsMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kmssdkv2; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.parseInfoFromKeyArn; import static java.util.Arrays.asList; import static java.util.Collections....
5,461
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/AwsKmsMrkAwareMasterKey.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kmssdkv2; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import com.amazonaws.encryptionsdk.*; import com.amazonaws.encryptionsdk.exception.AwsCrypto...
5,462
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/KmsMasterKey.java
/* * Copyright 2016 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" file...
5,463
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/RequestClientCacher.java
package com.amazonaws.encryptionsdk.kmssdkv2; import java.util.concurrent.ConcurrentHashMap; import software.amazon.awssdk.awscore.exception.AwsServiceException; import software.amazon.awssdk.core.interceptor.Context; import software.amazon.awssdk.core.interceptor.ExecutionAttributes; import software.amazon.awssdk.cor...
5,464
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/AwsKmsMrkAwareMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kmssdkv2; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import ...
5,465
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/package-info.java
/* * Copyright 2016 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" file...
5,466
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/multi/MultipleProviderFactory.java
/* * Copyright 2016 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" file...
5,467
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/multi/package-info.java
/* * Copyright 2016 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" file...
5,468
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/AwsKmsCmkArnInfo.java
package com.amazonaws.encryptionsdk.internal; import java.util.Arrays; /** * A class to parse and handle AWS KMS identifiers. Mostly AWS KMS ARNs but raw resources are also * used in the AWS Encryption SDK. */ public final class AwsKmsCmkArnInfo { private static final String arnLiteral = "arn"; private static ...
5,469
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/RsaJceKeyCipher.java
/* * 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 "license" file...
5,470
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/EncryptionContextSerializer.java
/* * Copyright 2016 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" file...
5,471
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/BlockEncryptionHandler.java
/* * Copyright 2016 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" file...
5,472
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/ProcessingSummary.java
/* * Copyright 2016 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" file...
5,473
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/BlockDecryptionHandler.java
/* * Copyright 2016 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" file...
5,474
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/PrimitivesParser.java
/* * Copyright 2016 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" file...
5,475
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/JceKeyCipher.java
/* * 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 "license" file...
5,476
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/Utils.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import java.io.Serializable; import java.math.BigInteger; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java....
5,477
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/TrailingSignatureAlgorithm.java
package com.amazonaws.encryptionsdk.internal; import static com.amazonaws.encryptionsdk.internal.Utils.bigIntegerToByteArray; import static com.amazonaws.encryptionsdk.internal.Utils.encodeBase64String; import static java.math.BigInteger.ONE; import static java.math.BigInteger.ZERO; import static org.apache.commons.la...
5,478
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/CipherHandler.java
/* * Copyright 2016 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" file...
5,479
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/MessageCryptoHandler.java
/* * Copyright 2016 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" file...
5,480
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/EncryptionHandler.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.CommitmentPolicy; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import com.amazonaws.encryptionsdk.MasterKey; import com.am...
5,481
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/HmacKeyDerivationFunction.java
/* * 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 "license" ...
5,482
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/VersionInfo.java
/* * Copyright 2016 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" file...
5,483
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/DecryptionHandler.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.*; import com.amazonaws.encryptionsdk.exception.AwsCryptoException; import com.amazonaws.encryptionsdk.exception.BadCiphertextExc...
5,484
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/SignaturePolicy.java
package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.CryptoAlgorithm; public enum SignaturePolicy { AllowEncryptAllowDecrypt { @Override public boolean algorithmAllowedForDecrypt(CryptoAlgorithm algorithm) { return true; } }, AllowEncryptForbidDecrypt { @Overrid...
5,485
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/FrameDecryptionHandler.java
/* * Copyright 2016 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" file...
5,486
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/AesGcmJceKeyCipher.java
/* * 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 "license" file...
5,487
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/CryptoHandler.java
/* * Copyright 2016 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" file...
5,488
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/LazyMessageCryptoHandler.java
package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.MasterKey; import com.amazonaws.encryptionsdk.model.CiphertextHeaders; import java.util.List; import java.util.Map; import java.util.function.Function; import javax.annotation.concurrent.NotThreadSafe; /** * A {@link MessageCryptoHandle...
5,489
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/FrameEncryptionHandler.java
/* * Copyright 2016 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" file...
5,490
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/CommittedKey.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import java.nio.charset.StandardCharsets; import java.security.NoSuchAlgorithmException; import javax.crypto.Sec...
5,491
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/package-info.java
/* * Copyright 2016 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" file...
5,492
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/Constants.java
/* * Copyright 2016 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" file...
5,493
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CiphertextFooters.java
/* * Copyright 2016 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" file...
5,494
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CipherFrameHeaders.java
/* * Copyright 2016 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" file...
5,495
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CipherBlockHeaders.java
/* * Copyright 2016 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" file...
5,496
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CiphertextType.java
/* * Copyright 2016 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" file...
5,497
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/KeyBlob.java
/* * Copyright 2016 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" file...
5,498
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/ContentType.java
/* * Copyright 2016 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" file...
5,499