@Test public void testGetAlgorithms() throws Exception { assertEquals(2, new S3EncryptionFeature(null).getKeys( new Path("test-us-east-1-cyberduck", EnumSet.of(Path.Type.volume)), new DisabledLoginCallback()).size()); }
@Override public Set<Algorithm> getKeys(final Path file, final LoginCallback prompt) throws BackgroundException { return new HashSet<>(Arrays.asList(Algorithm.NONE, SSE_AES256)); }
S3EncryptionFeature implements Encryption { @Override public Set<Algorithm> getKeys(final Path file, final LoginCallback prompt) throws BackgroundException { return new HashSet<>(Arrays.asList(Algorithm.NONE, SSE_AES256)); } }
S3EncryptionFeature implements Encryption { @Override public Set<Algorithm> getKeys(final Path file, final LoginCallback prompt) throws BackgroundException { return new HashSet<>(Arrays.asList(Algorithm.NONE, SSE_AES256)); } S3EncryptionFeature(final S3Session session); }
S3EncryptionFeature implements Encryption { @Override public Set<Algorithm> getKeys(final Path file, final LoginCallback prompt) throws BackgroundException { return new HashSet<>(Arrays.asList(Algorithm.NONE, SSE_AES256)); } S3EncryptionFeature(final S3Session session); @Override Set<Algorithm> getKeys(final Path file, final LoginCallback prompt); @Override Algorithm getDefault(final Path file); @Override Algorithm getEncryption(final Path file); @Override void setEncryption(final Path file, final Algorithm setting); }
S3EncryptionFeature implements Encryption { @Override public Set<Algorithm> getKeys(final Path file, final LoginCallback prompt) throws BackgroundException { return new HashSet<>(Arrays.asList(Algorithm.NONE, SSE_AES256)); } S3EncryptionFeature(final S3Session session); @Override Set<Algorithm> getKeys(final Path file, final LoginCallback prompt); @Override Algorithm getDefault(final Path file); @Override Algorithm getEncryption(final Path file); @Override void setEncryption(final Path file, final Algorithm setting); static final Algorithm SSE_AES256; }