File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/main/java/software/amazon/encryption/s3/materials Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 2323 * This keyring can wrap keys with the active keywrap algorithm and
2424 * unwrap with the active and legacy algorithms for RSA keys.
2525 */
26- public class RsaKeyring extends S3Keyring {
26+ public class RsaKeyring extends RawKeyring {
2727
2828 private final PartialRsaKeyPair _partialRsaKeyPair ;
2929
@@ -201,9 +201,8 @@ public MaterialsDescription getMaterialsDescription() {
201201 return _materialsDescription ;
202202 }
203203
204- public static class Builder extends S3Keyring .Builder <S3Keyring , Builder > {
204+ public static class Builder extends RawKeyring .Builder <RsaKeyring , RsaKeyring . Builder > {
205205 private PartialRsaKeyPair _partialRsaKeyPair ;
206- private boolean _reEncryptInstructionFile = false ;
207206
208207 private Builder () {
209208 super ();
@@ -218,10 +217,6 @@ public Builder wrappingKeyPair(final PartialRsaKeyPair partialRsaKeyPair) {
218217 _partialRsaKeyPair = partialRsaKeyPair ;
219218 return builder ();
220219 }
221- public Builder reEncryptInstructionFile (final boolean reEncryptInstructionFile ) {
222- _reEncryptInstructionFile = reEncryptInstructionFile ;
223- return builder ();
224- }
225220
226221 public RsaKeyring build () {
227222 return new RsaKeyring (this );
You can’t perform that action at this time.
0 commit comments