diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java b/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java index effdfcf1..8ddaff34 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java @@ -29,18 +29,6 @@ public interface KeyRingBuilderInterface { KeyRingBuilderInterface withSubKey(@Nonnull KeySpec keySpec); - /** - * Define the primary key spec. - * - * @deprecated use {@link #withPrimaryKey(KeySpec)} instead. - * @param keySpec key spec - * @return builder step - */ - @Deprecated - default WithPrimaryUserId withMasterKey(@Nonnull KeySpec keySpec) { - return withPrimaryKey(keySpec); - } - WithPrimaryUserId withPrimaryKey(@Nonnull KeySpec keySpec); interface WithPrimaryUserId {