@Override public Algorithm getEncryption(final Path file) throws BackgroundException { return delegate.getEncryption(vault.encrypt(session, file)); }
@Override public Algorithm getEncryption(final Path file) throws BackgroundException { return registry.find(session, file).getFeature(session, Encryption.class, proxy).getEncryption(file); }
final Encryption.Algorithm encryption = encryptionFeature.getEncryption(file); target.setServerSideEncryptionAlgorithm(encryption.algorithm);
selectedEncryptionKeys.add(session.getFeature(Encryption.class).getEncryption(f));
file.getName())); try { status.setEncryption(feature.getEncryption(file));