org.gudy.azureus2.plugins.utils.security
Interface SEPublicKey
- All Known Implementing Classes:
- SEPublicKeyImpl
public interface SEPublicKey
Method Summary |
byte[] |
encodePublicKey()
Gets a generic encoded form that includes type identification information. |
byte[] |
encodeRawPublicKey()
Raw encoding of the specific key type |
boolean |
equals(java.lang.Object other)
Overridden to perform equality based on public key |
int |
getType()
|
int |
hashCode()
|
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(java.lang.Object other)
- Overridden to perform equality based on public key
- Overrides:
equals
in class java.lang.Object
- Parameters:
other
-
- Returns:
hashCode
int hashCode()
- Overrides:
hashCode
in class java.lang.Object