Package sop

Class SessionKey


  • public class SessionKey
    extends Object
    • Constructor Detail

      • SessionKey

        public SessionKey​(byte algorithm,
                          byte[] sessionKey)
    • Method Detail

      • 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()
        Overrides:
        hashCode in class Object