Skip to content

Commit

Permalink
revert changes pulled from PEM PR
Browse files Browse the repository at this point in the history
  • Loading branch information
nizarbenalla committed Nov 14, 2024
1 parent 758d58e commit 9414cda
Show file tree
Hide file tree
Showing 38 changed files with 316 additions and 2,541 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*
* @since 22
*/
public non-sealed interface AsymmetricKey extends Key, DEREncodable {
public interface AsymmetricKey extends Key {
/**
* Returns the parameters associated with this key.
* The parameters are optional and may be either
Expand Down
58 changes: 0 additions & 58 deletions src/java.base/share/classes/java/security/DEREncodable.java

This file was deleted.

4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/security/KeyPair.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,7 +37,7 @@
* @since 1.1
*/

public final class KeyPair implements java.io.Serializable, DEREncodable {
public final class KeyPair implements java.io.Serializable {

@java.io.Serial
private static final long serialVersionUID = -7565189502268009837L;
Expand Down
Loading

0 comments on commit 9414cda

Please sign in to comment.