Package com.iizix.server.security
Class ServerKey
java.lang.Object
com.iizix.server.security.ServerKey
The server key that is used for encryption.
- Author:
- Christopher Mindus
Method Summary
Method Details
getFingerPrint
Gets the fingerprint of this key for use with the client. The fingerprint is SHA-512, SHA-384, SHA-256, SHA-1 or worst case MD5. The highest fingerprint is always attempted.- Returns:
- The fingerprint is a message digest base64 encoded string.
equals
Checks if two keys are equal, the timestamp is ignored.hashCode
public int hashCode()Gets the hash code.toString
Gets the key as a debug string.