File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/main/java/software/amazon/encryption/s3/materials Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 2020 * This keyring can wrap keys with the active keywrap algorithm and
2121 * unwrap with the active and legacy algorithms for AES keys.
2222 */
23- public class AesKeyring extends S3Keyring {
23+ public class AesKeyring extends RawKeyring {
2424
2525 private static final String KEY_ALGORITHM = "AES" ;
2626
@@ -181,9 +181,8 @@ public MaterialsDescription getMaterialsDescription() {
181181 return _materialsDescription ;
182182 }
183183
184- public static class Builder extends S3Keyring .Builder <AesKeyring , Builder > {
184+ public static class Builder extends RawKeyring .Builder <AesKeyring , Builder > {
185185 private SecretKey _wrappingKey ;
186- private boolean _reEncryptInstructionFile = false ;
187186
188187 private Builder () {
189188 super ();
@@ -204,12 +203,6 @@ public Builder wrappingKey(final SecretKey wrappingKey) {
204203 _wrappingKey = wrappingKey ;
205204 return builder ();
206205 }
207- public Builder reEncryptInstructionFile (boolean reEncryptInstructionFile ) {
208- _reEncryptInstructionFile = reEncryptInstructionFile ;
209- return builder ();
210-
211- }
212-
213206 public AesKeyring build () {
214207 return new AesKeyring (this );
215208 }
You can’t perform that action at this time.
0 commit comments