diff --git a/core/java/src/net/i2p/data/PublicKey.java b/core/java/src/net/i2p/data/PublicKey.java
index 27a72387abbdaab8d312fadc8f22e5e5e5708d30..805ab5999a3b96e87a7784afd7c4c087c69b94fc 100644
--- a/core/java/src/net/i2p/data/PublicKey.java
+++ b/core/java/src/net/i2p/data/PublicKey.java
@@ -143,9 +143,9 @@ public class PublicKey extends SimpleDataStructure {
      *  The type of the returned key will be null if the kcert sigtype is null.
      *
      *  @throws IllegalArgumentException if this is already typed to a different type
-     *  @since 0.9.42
+     *  @since 0.9.42 changed from public to package private in 0.9.66, not for external use
      */
-    public PublicKey toTypedKey(KeyCertificate kcert) {
+    PublicKey toTypedKey(KeyCertificate kcert) {
         if (_data == null)
             throw new IllegalStateException();
         EncType newType = kcert.getEncType();
diff --git a/core/java/src/net/i2p/data/SigningPublicKey.java b/core/java/src/net/i2p/data/SigningPublicKey.java
index d0dce77391250fe23e90eba47796c61ec4c8df45..46b287152806def7596f71d8eb7ad51511ddd758 100644
--- a/core/java/src/net/i2p/data/SigningPublicKey.java
+++ b/core/java/src/net/i2p/data/SigningPublicKey.java
@@ -119,9 +119,9 @@ public class SigningPublicKey extends SimpleDataStructure {
      *  The type of the returned key will be null if the kcert sigtype is null.
      *
      *  @throws IllegalArgumentException if this is already typed to a different type
-     *  @since 0.9.12
+     *  @since 0.9.12 changed from public to package private in 0.9.66, not for external use
      */
-    public SigningPublicKey toTypedKey(KeyCertificate kcert) {
+    SigningPublicKey toTypedKey(KeyCertificate kcert) {
         if (_data == null)
             throw new IllegalStateException();
         SigType newType = kcert.getSigType();
@@ -185,9 +185,9 @@ public class SigningPublicKey extends SimpleDataStructure {
     /**
      *  Write the data up to a max of 128 bytes.
      *  If longer, the rest will be written in the KeyCertificate.
-     *  @since 0.9.12
+     *  @since 0.9.12 changed from public to package private in 0.9.66, not for external use
      */
-    public void writeTruncatedBytes(OutputStream out) throws DataFormatException, IOException {
+    void writeTruncatedBytes(OutputStream out) throws DataFormatException, IOException {
         // we don't use _type here so we can write the data even for unknown type
         //if (_type.getPubkeyLen() <= KEYSIZE_BYTES)
         if (_data == null) throw new DataFormatException("No data to write out");