I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 5f1e5bc2 authored by zzz's avatar zzz
Browse files

Data: make getKeysAndCert() public

parent 1c6d5ad2
No related branches found
No related tags found
No related merge requests found
...@@ -68,9 +68,9 @@ public abstract class DatabaseEntry extends DataStructureImpl { ...@@ -68,9 +68,9 @@ public abstract class DatabaseEntry extends DataStructureImpl {
* and getIdentity() in RouterInfo. * and getIdentity() in RouterInfo.
* *
* @return KAC or null * @return KAC or null
* @since 0.8.2 * @since 0.8.2, public since 0.9.17
*/ */
protected abstract KeysAndCert getKeysAndCert(); public abstract KeysAndCert getKeysAndCert();
/** /**
* A common interface to the Hash of the two subclasses. * A common interface to the Hash of the two subclasses.
......
...@@ -103,7 +103,7 @@ public class LeaseSet extends DatabaseEntry { ...@@ -103,7 +103,7 @@ public class LeaseSet extends DatabaseEntry {
return getEarliestLeaseDate(); return getEarliestLeaseDate();
} }
protected KeysAndCert getKeysAndCert() { public KeysAndCert getKeysAndCert() {
return _destination; return _destination;
} }
......
...@@ -113,7 +113,7 @@ public class RouterInfo extends DatabaseEntry { ...@@ -113,7 +113,7 @@ public class RouterInfo extends DatabaseEntry {
return _published; return _published;
} }
protected KeysAndCert getKeysAndCert() { public KeysAndCert getKeysAndCert() {
return _identity; return _identity;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment