Package sop
Class SessionKey
java.lang.Object
sop.SessionKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static SessionKey
fromString
(String string) byte
Return the symmetric algorithm octet.byte[]
getKey()
Return the session key.int
hashCode()
toString()
-
Constructor Details
-
SessionKey
public SessionKey(byte algorithm, byte[] sessionKey)
-
-
Method Details
-
getAlgorithm
public byte getAlgorithm()Return the symmetric algorithm octet.- Returns:
- algorithm id
-
getKey
public byte[] getKey()Return the session key.- Returns:
- session key
-
hashCode
public int hashCode() -
equals
-
fromString
-
toString
-