Package com.biglybt.pif.utils.security
Interface SEPublicKey
-
- All Known Implementing Classes:
SEPublicKeyImpl
public interface SEPublicKey
-
-
Field Summary
Fields Modifier and Type Field Description static int
KEY_TYPE_ECC_192
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
encodePublicKey()
Gets a generic encoded form that includes type identification information.byte[]
encodeRawPublicKey()
Raw encoding of the specific key typeboolean
equals(java.lang.Object other)
Overridden to perform equality based on public keyint
getInstance()
int
getType()
int
hashCode()
-
-
-
Field Detail
-
KEY_TYPE_ECC_192
static final int KEY_TYPE_ECC_192
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
int getType()
-
getInstance
int getInstance()
-
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 classjava.lang.Object
- Parameters:
other
-- Returns:
-
hashCode
int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-