forked from I2P_Developers/i2p.i2p
Data: make getKeysAndCert() public
This commit is contained in:
@ -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 {
|
|||||||
return getEarliestLeaseDate();
|
return getEarliestLeaseDate();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected KeysAndCert getKeysAndCert() {
|
public KeysAndCert getKeysAndCert() {
|
||||||
return _destination;
|
return _destination;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ public class RouterInfo extends DatabaseEntry {
|
|||||||
return _published;
|
return _published;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected KeysAndCert getKeysAndCert() {
|
public KeysAndCert getKeysAndCert() {
|
||||||
return _identity;
|
return _identity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user