org.gudy.azureus2.plugins.utils.security
Interface SEPublicKey
- All Known Implementing Classes:
- SEPublicKeyImpl
public interface SEPublicKey
KEY_TYPE_ECC_192
static final int KEY_TYPE_ECC_192
- See Also:
- Constant Field Values
getType
int getType()
encodePublicKey
byte[] encodePublicKey()
- Gets a generic encoded form that includes type identification information. So
don't treat this as a raw encoding as it can only sensibly be used to later
import via SESecurityManager.decodePublicKey
- Returns:
encodeRawPublicKey
byte[] encodeRawPublicKey()
- Raw encoding of the specific key type
- Returns:
equals
boolean equals(Object other)
- Overridden to perform equality based on public key
- Overrides:
equals
in class Object
- Parameters:
other
-
- Returns:
hashCode
int hashCode()
- Overrides:
hashCode
in class Object